geoview-core - v2.2.0
    Preparing search index...

    Interface LightboxProps

    Props for the LightboxImg component.

    interface LightboxProps {
        exited: () => void;
        index: number;
        onSlideChange?: (index: number) => void;
        open: boolean;
        slides: LightBoxSlides[];
    }
    Index

    Properties

    exited: () => void

    Callback invoked when the lightbox exit animation completes.

    index: number

    The initial slide index.

    onSlideChange?: (index: number) => void

    Optional callback invoked when the active slide changes.

    open: boolean

    Whether the lightbox is open.

    slides: LightBoxSlides[]

    The slides to display.