UseTreeItemParameters

Properties

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

The content of the component.

Link copied to clipboard
abstract external var disabled: Boolean?

If true, the item is disabled.

Link copied to clipboard
abstract external var disableSelection: Boolean?

If true, the item cannot be selected.

Link copied to clipboard
abstract external var id: ElementId?

The id attribute of the item. If not provided, it will be generated.

Link copied to clipboard
abstract external var itemId: String

The id of the item. Must be unique.

Link copied to clipboard
abstract external var key: Key?
Link copied to clipboard
abstract external var label: ReactNode?

The label of the item.

Link copied to clipboard
abstract external var rootRef: Ref<HTMLLIElement>?

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()