pdfrx_web
    Preparing search index...

    Interface PdfSidebarProps

    Props for PdfSidebar.

    interface PdfSidebarProps {
        className?: string;
        defaultTab?: PdfSidebarTab;
        onInsertFiles?: (files: File[], index: number) => void;
        onMovePage?: (fromPageNumber: number, toIndex: number) => void;
        onNavigate?: () => void;
        renderPageActions?: (pageNumber: number) => ReactNode;
        style?: CSSProperties;
        tabs?: readonly PdfSidebarTab[];
        thumbnailWidth?: number;
    }
    Index
    className?: string
    defaultTab?: PdfSidebarTab

    The tab to start on. Defaults to the first entry of tabs.

    onInsertFiles?: (files: File[], index: number) => void

    Enables drop-to-insert on the thumbnail strip. Passed to PdfThumbnailList.

    onMovePage?: (fromPageNumber: number, toIndex: number) => void

    Enables drag-to-reorder on the thumbnail strip. Passed to PdfThumbnailList.

    onNavigate?: () => void

    Called after a thumbnail or outline entry navigates — e.g. to close a drawer.

    renderPageActions?: (pageNumber: number) => ReactNode

    Extra controls drawn over each thumbnail. See PdfThumbnailList.

    style?: CSSProperties
    tabs?: readonly PdfSidebarTab[]

    Which tabs to offer, in order. Defaults to both.

    thumbnailWidth?: number

    Thumbnail width in CSS pixels.