UseTreeItemParameters

Properties

Link copied to clipboard
abstract override var children: ReactNode?

The content of the component.

Link copied to clipboard
abstract var disabled: Boolean?

If true, the item is disabled.

Link copied to clipboard
abstract var disableSelection: Boolean?

If true, the item cannot be selected.

Link copied to clipboard
abstract var id: ElementId?

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

Link copied to clipboard
abstract var itemId: String

The id of the item. Must be unique.

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

The label of the item.

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

Functions

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