Properties

Link copied to clipboard
abstract external var apiRef: Ref<*>?

The ref object that allows Tree View manipulation. Can be instantiated with useSimpleTreeViewApiRef().

Link copied to clipboard
abstract external var checkboxSelection: Boolean?
Link copied to clipboard
abstract external override var children: ReactNode?

The content of the component.

Link copied to clipboard
abstract external var classes: SimpleTreeViewClasses?

Override or extend the styles applied to the component.

Link copied to clipboard
abstract external override var className: ClassName?
Link copied to clipboard
Link copied to clipboard
abstract external var defaultSelectedItems: Any?
Link copied to clipboard
abstract external var disabledItemsFocusable: Boolean?
Link copied to clipboard
abstract external var disableSelection: Boolean?
Link copied to clipboard
abstract external var expandedItems: ReadonlyArray<TreeViewItemId>?
Link copied to clipboard
abstract external var expansionTrigger: String?
Link copied to clipboard
abstract external var itemChildrenIndentation: Any?
Link copied to clipboard
abstract external var itemHeight: Double?
Link copied to clipboard
abstract external var key: Key?
Link copied to clipboard
abstract external var multiSelect: Boolean?
Link copied to clipboard
abstract external var onExpandedItemsChange: (event: SyntheticEvent<*, *>?, ReadonlyArray<TreeViewItemId>) -> Unit?
Link copied to clipboard
abstract external var onItemClick: (event: MouseEvent<*, *>, TreeViewItemId) -> Unit?
Link copied to clipboard
abstract external var onItemExpansionToggle: (event: SyntheticEvent<*, *>?, TreeViewItemId, isExpanded: Boolean) -> Unit?
Link copied to clipboard
abstract external var onItemFocus: (event: SyntheticEvent<*, *>?, TreeViewItemId) -> Unit?
Link copied to clipboard
abstract external var onItemSelectionToggle: (event: SyntheticEvent<*, *>?, TreeViewItemId, isSelected: Boolean) -> Unit?
Link copied to clipboard
abstract external var onSelectedItemsChange: (event: SyntheticEvent<*, *>?, itemIds: Any?) -> Unit?
Link copied to clipboard
abstract external var selectedItems: Any?
Link copied to clipboard
abstract external var slotProps: SimpleTreeViewSlotProps?

The props used for each component slot.

Link copied to clipboard
abstract external var slots: SimpleTreeViewSlots?

Overridable component slots.

Link copied to clipboard
abstract external override var sx: SxProps<Theme>?

The system prop that allows defining system overrides as well as additional CSS styles.

Functions

Link copied to clipboard
open inline external fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator external fun <P : Props> ElementType<P>.invoke()
open inline operator external fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator external fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator external fun Char.unaryPlus()
open inline operator external fun String?.unaryPlus()
open inline operator external fun ReactNode?.unaryPlus()
open inline operator external fun Props?.unaryPlus()