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