Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
SelectItem
Selectable value item.
Import
import { SelectItem } from "@dartwic/interface-sdk/ui";Declaration
export const SelectItem: HostComponent<SelectItemProps>;SelectItemProps
Props accepted by a selectable item.
export interface SelectItemProps extends HostComponentProps {
/** Value produced when this item is selected. */
value: string;
/** Disables this item. */
disabled?: boolean;
}| Prop | Type | Requirement | Description |
|---|---|---|---|
value | string | Required | Value produced when this item is selected. |
disabled | boolean | Optional | Disables this item. |