| 14 | type Story = StoryFn<typeof Table>; |
| 15 | |
| 16 | export const Example: Story = args => ( |
| 17 | <Table aria-label="Files" {...args}> |
| 18 | <TableHeader> |
| 19 | <Column isRowHeader>Name</Column> |
| 20 | <Column>Type</Column> |
| 21 | <Column>Date Modified</Column> |
| 22 | </TableHeader> |
| 23 | <TableBody> |
| 24 | <Row> |
| 25 | <Cell>Games</Cell> |
| 26 | <Cell>File folder</Cell> |
| 27 | <Cell>6/7/2020</Cell> |
| 28 | </Row> |
| 29 | <Row> |
| 30 | <Cell>Program Files</Cell> |
| 31 | <Cell>File folder</Cell> |
| 32 | <Cell>4/7/2021</Cell> |
| 33 | </Row> |
| 34 | <Row> |
| 35 | <Cell>bootmgr</Cell> |
| 36 | <Cell>System file</Cell> |
| 37 | <Cell>11/20/2010</Cell> |
| 38 | </Row> |
| 39 | </TableBody> |
| 40 | </Table> |
| 41 | ); |
| 42 | |
| 43 | Example.args = { |
| 44 | onRowAction: undefined, |
nothing calls this directly
no outgoing calls
no test coverage detected