Skip to content
HomePagesHomePages template kit

ImageSlot

Kind-level def type for an `image` slot — `SlotBinding<ImageSlot>` accepts any image slot.

Kind-level def type for an image slot — SlotBinding<ImageSlot> accepts any image slot.

Import from @homepages/template-kit.

export type ImageSlot = SlotBase & {
type: "image";
sourceFilter?: string;
crop?: unknown;
frame?: unknown;
};