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:

NameTypeDefaultDescription
children
node
-

Specifies a custom empty-state message.

className
string
-

Specifies an additional CSS class name for the empty-state element.