(props: TreeViewItemProps)
| 585 | }); |
| 586 | |
| 587 | export const TreeViewItem = (props: TreeViewItemProps): ReactNode => { |
| 588 | let {href} = props; |
| 589 | |
| 590 | return ( |
| 591 | <TreeItem |
| 592 | {...props} |
| 593 | className={renderProps => |
| 594 | treeRow({ |
| 595 | ...renderProps, |
| 596 | isLink: !!href |
| 597 | }) |
| 598 | } |
| 599 | /> |
| 600 | ); |
| 601 | }; |
| 602 | |
| 603 | export interface TreeViewItemContentProps extends Omit<TreeItemContentProps, 'children'> { |
| 604 | /** Rendered contents of the tree item or child items. */ |
nothing calls this directly
no outgoing calls
no test coverage detected