FrameConfig
Render/cropper-shared frame geometry for an image or video slot.
Render/cropper-shared frame geometry for an image or video slot. Sections
declare a FRAME constant of this shape and pass it to the Renderer;
breakpoint is a viewport width — the only axis a <picture><source media> crop switch, or the kit’s own layout-box aspect-ratio switch, can
read. Any positive width; the platform has no opinion about which.
Import from @homepages/template-kit.
Signature
Section titled “Signature”export type FrameConfig = { breakpoint: number; desktop: { aspect: number; nominal?: boolean; }; mobile?: { aspect: number; nominal?: boolean; };};