Phials developer documentation
User guide
AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0

ThumbnailProviderProps

Props passed to thumbnail components

Signature

interface ThumbnailProviderProps {
    file: FileEntry;
    size: number;
    generatedSize?: number;
    quality?: number;
    surface?: ThumbnailSurface;
    onLoadStateChange?: (state: ThumbnailLoadState) => void;
}

Members

NameTypeRequiredDescription
fileFileEntryyes
sizenumberyes
generatedSizenumberno
qualitynumberno
surfaceThumbnailSurfacenoHost surface; grid-only chrome should hide when "details".
onLoadStateChange(state: ThumbnailLoadState) => voidnoOptional load-state callback for host-driven fallback (e.g. details leading column).