(props: TreeItemProps)
| 52 | } |
| 53 | |
| 54 | export function TreeItem(props: TreeItemProps) { |
| 55 | let textValue = typeof props.title === 'string' ? props.title : ''; |
| 56 | return ( |
| 57 | <AriaTreeItem textValue={textValue} {...props}> |
| 58 | {props.title != null ? ( |
| 59 | <> |
| 60 | <TreeItemContent>{props.title}</TreeItemContent> |
| 61 | {props.children} |
| 62 | </> |
| 63 | ) : ( |
| 64 | props.children |
| 65 | )} |
| 66 | </AriaTreeItem> |
| 67 | ); |
| 68 | } |
| 69 | |
| 70 | export function TreeLoadMoreItem(props: TreeLoadMoreItemProps) { |
| 71 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected