Skip to content

Commit

Permalink
rm note about not being available (primer#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
mperrotti authored Aug 31, 2023
1 parent 108f663 commit 5044a79
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions content/components/data-table.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ export default ComponentLayout

import {Box, Heading} from '@primer/react'

<Note>This component is not available in production yet</Note>

## Anatomy

<img
Expand Down Expand Up @@ -422,8 +420,6 @@ Options:

### Row actions cell options

<!-- TODO: apply a layout -->

<Box display="flex" flexDirection="column" sx={{gap: 3, 'h4': { margin: 0 }}}>
<Box display="flex" flexDirection={['column', 'column', 'column', 'column', 'row']} sx={{gap: 3}}>

Expand Down Expand Up @@ -575,7 +571,8 @@ The table must have a title, and can optionally have a subtitle to describe more
<Box display="flex" flexDirection={['column', 'column', 'column', 'column', 'row']} sx={{gap: 3}}>

<Box as="p" flex={1}>
The row header string will be prepended to the ARIA text of action buttons. For examples, Download {`{row header}`}“, “Actions:{`{row header}`}
The row header string will be prepended to the ARIA text of action buttons. For examples, Download {`{row header}`}“,
“Actions:{`{row header}`}
</Box>

<img
Expand All @@ -588,7 +585,9 @@ The table must have a title, and can optionally have a subtitle to describe more
<Box display="flex" flexDirection={['column', 'column', 'column', 'column', 'row']} sx={{gap: 3}}>

<Box as="p" flex={1}>
To handle cases where the row header can be very long, we should give consumers the option to specify a shorter string to identify the rows. For example, if an issue title is used as the row header, we could use the issue number instead of the full issue title.
To handle cases where the row header can be very long, we should give consumers the option to specify a shorter string
to identify the rows. For example, if an issue title is used as the row header, we could use the issue number instead
of the full issue title.
</Box>

<img
Expand Down

0 comments on commit 5044a79

Please sign in to comment.