Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
SelectContent
Select Content using the host's single-choice fields presentation.
Import
import { SelectContent } from "@dartwic/interface-sdk/ui";Declaration
export const SelectContent: HostComponent<SelectContentProps>;SelectContentProps
Props accepted by select popup content.
export interface SelectContentProps extends HostComponentProps {
/** Popup positioning strategy. */
position?: "popper" | "item-aligned" | string;
}| Prop | Type | Requirement | Description |
|---|---|---|---|
position | "popper" | "item-aligned" | string | Optional | Popup positioning strategy. |
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. |