Skip to content
HomePagesHomePages template kit

SelectSlot

Kind-level def type for a `select` slot — `SlotBinding<SelectSlot>` accepts any select slot.

Kind-level def type for a select slot — SlotBinding<SelectSlot> accepts any select slot.

Import from @homepages/template-kit.

export type SelectSlot = SlotBase & {
type: "select";
values?: (string | {
value: string;
label: string;
})[];
options?: {
source: string;
};
creatable?: boolean;
};