Function: Select()

Select<T>(props): Element

A toolbar primitive you can use to build dropdowns, such as the block type select.

Type parameters

Type parameter
T extends string

Parameters

ParameterType
propsobject
props.items("separator" | object)[]
props.onChange(value) => void
props.placeholderstring
props.triggerTitlestring
props.valueT

Returns

Element