Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
SelectValue
Select Value using the host's single-choice fields presentation.
Import
import { SelectValue } from "@dartwic/interface-sdk/ui";Declaration
export const SelectValue: HostComponent<SelectValueProps>;SelectValueProps
Props accepted by the selected-value display.
export interface SelectValueProps extends HostComponentProps {
/** Content shown while no value is selected. */
placeholder?: HostNode;
}| Prop | Type | Requirement | Description |
|---|---|---|---|
placeholder | HostNode | Optional | Content shown while no value is selected. |
className | string | Optional | Additional Tailwind or host CSS classes. |
children | HostNode | Optional | Child content rendered by the host component. |
id | string | Optional | Optional DOM identifier. |
style | Record<string, unknown> | Optional | Inline style values passed to the host component. |