pdfrx_web
    Preparing search index...

    Interface PdfOutlineTreeProps

    Props for PdfOutlineTree.

    interface PdfOutlineTreeProps {
        className?: string;
        defaultExpandedDepth?: number;
        emptyMessage?: ReactNode;
        onNavigate?: (node: PdfOutlineNode) => void;
        style?: CSSProperties;
    }
    Index
    className?: string
    defaultExpandedDepth?: number

    How many levels start expanded. Defaults to 1 (top level only).

    emptyMessage?: ReactNode

    Shown when the document has no outline. Defaults to the localized noOutline string.

    onNavigate?: (node: PdfOutlineNode) => void

    Called after a node is activated — e.g. to close a drawer on a phone.

    style?: CSSProperties