TreeViewCssVars
The CSS custom properties the Tree View sets at runtime, for styles that need to read them: the root carries itemChildrenIndentation (useTreeViewRootProps), every item root carries itemDepth and, when the itemHeight prop is set, itemHeight (useTreeItem). Nothing in the package declares them, so they are listed here.
Properties
Link copied to clipboard
--TreeView-itemChildrenIndentation: the itemChildrenIndentation prop as a length (24 becomes 24px).
Link copied to clipboard
--TreeView-itemDepth: the zero-based depth of the item, a plain number.
Link copied to clipboard
--TreeView-itemHeight: the itemHeight prop as a length; only set when the prop is.