TreeViewItemIconProps

TreeViewItemIcon is a semantic container for a row's icon. Provides consistent styling and structure for displaying a node's resolved icon or a custom icon node within the TreeViewItemIcon component. When no children are supplied, defaults to the node's resolved icon.

Props

The following table outlines the props for the TreeViewItemIconProps:

NameTypeDefaultDescription
children
node
-

Specifies the child content for the component.

className
string
-

Specifies the root element class name.