microscope-js - v0.0.0
    Preparing search index...

    Interface ViewerProps

    interface ViewerProps {
        className?: string;
        emptyFallback?: ReactNode;
        errorFallback?: (err: Error) => ReactNode;
        loadingFallback?: ReactNode;
        options?: Record<string, unknown>;
        registry: Registry;
        rendererId?: string;
        source: Source | null | undefined;
        style?: CSSProperties;
    }
    Index

    Properties

    className?: string

    Container className — apply your own styles here.

    emptyFallback?: ReactNode

    Element shown when no source is supplied.

    errorFallback?: (err: Error) => ReactNode

    Render prop for errors. Receives the error; return your UI.

    loadingFallback?: ReactNode

    Element shown while a render is in flight.

    options?: Record<string, unknown>
    registry: Registry
    rendererId?: string
    source: Source | null | undefined
    style?: CSSProperties

    Container inline style. Defaults to a sane 16:9 box.