OptionProps

Properties

Link copied to clipboard
abstract override var children: ReactNode?
Link copied to clipboard
abstract override var className: ClassName?
Link copied to clipboard
abstract var component: ElementType<*>?
Link copied to clipboard
abstract var disabled: Boolean?

If true, the option will be disabled.

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

A text representation of the option's content. Used for keyboard text navigation matching.

Link copied to clipboard

The props used for each slot inside the Option.

Link copied to clipboard
abstract var slots: OptionSlots?

The components used for each slot inside the Option. Either a string to use a HTML element or a component.

Link copied to clipboard
abstract var value: OptionValue

The value of the option.

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 <T> ContextType<T>.invoke(noinline block: ProviderProps<T>.() -> Unit)
open inline operator fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator fun <T> ContextType<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> 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()