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;
}
PropTypeRequirementDescription
position"popper" | "item-aligned" | stringOptionalPopup positioning strategy.
classNamestringOptionalAdditional Tailwind or host CSS classes.
childrenHostNodeOptionalChild content rendered by the host component.
idstringOptionalOptional DOM identifier.
styleRecord<string, unknown>OptionalInline style values passed to the host component.