| 14 | type Story = StoryFn<typeof Tree>; |
| 15 | |
| 16 | export const Example: Story = args => ( |
| 17 | <Tree aria-label="Files" {...args}> |
| 18 | <TreeItem title="Documents"> |
| 19 | <TreeItem title="Project"> |
| 20 | <TreeItem title="Weekly Report" /> |
| 21 | </TreeItem> |
| 22 | </TreeItem> |
| 23 | <TreeItem title="Photos"> |
| 24 | <TreeItem title="Image 1" /> |
| 25 | <TreeItem title="Image 2" /> |
| 26 | </TreeItem> |
| 27 | </Tree> |
| 28 | ); |
| 29 | |
| 30 | Example.args = { |
| 31 | style: {height: '300px'}, |
nothing calls this directly
no outgoing calls
no test coverage detected