DropdownProps

external interface DropdownProps : PropsWithChildren(source)

Properties

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

If true, the dropdown is initially open.

Link copied to clipboard
abstract var key: Key?
Link copied to clipboard
abstract var onOpenChange: (event: SyntheticEvent<*, *>?, open: Boolean) -> Unit?

Callback fired when the component requests to be opened or closed.

Link copied to clipboard
abstract var open: Boolean?

Allows to control whether the dropdown is open. This is a controlled counterpart of defaultOpen.

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