TreeViewEmptyStateProps
TreeViewEmptyState is a semantic container for the placeholder shown when a TreeView has no visible nodes to render. Provides consistent styling and structure for displaying an empty-state message within the TreeViewEmptyState component. Renders nothing when no children are supplied.
Props
The following table outlines the props for the TreeViewEmptyStateProps:
| Name | Type | Default | Description |
|---|---|---|---|
| children | node | - | Specifies a custom empty-state message. |
| className | string | - | Specifies an additional CSS class name for the empty-state element. |