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
| Parameter | Type |
|---|---|
props | object |
props.disabled? | boolean |
props.items | ("separator" | object)[] |
props.onChange | (value) => void |
props.placeholder | string |
props.triggerTitle | string |
props.value | T |
Returns
Element