TreeViewItemToggleProps

TreeViewItemToggle is a semantic container for a row's expand/collapse toggle. Provides consistent styling and structure for displaying a toggle affordance within the TreeViewItemToggle component. When no children are supplied, defaults to a chevron icon that reflects the current expanded state.

Props

The following table outlines the props for the TreeViewItemToggleProps:

NameTypeDefaultDescription
children
node
-

Specifies the child content for the component.

className
string
-

Specifies the root element class name.