import type { StoryboardFrameView } from "../../hooks/useStoryboard"; import { StoryboardFrameTile } from "./StoryboardFrameTile"; export interface StoryboardGridProps { projectId: string; frames: StoryboardFrameView[]; /** Open a frame in the full-area focus view. */ onOpenFrame: (index: number) => void; } /** The contact sheet: ordered frame tiles in a responsive grid. */ export function StoryboardGrid({ projectId, frames, onOpenFrame }: StoryboardGridProps) { if (frames.length === 0) { return (