pdfrx_web
    Preparing search index...

    Interface PdfToolbarProps

    Props for PdfToolbar.

    interface PdfToolbarProps {
        afterSearch?: ReactNode;
        afterZoom?: ReactNode;
        beforeSearch?: ReactNode;
        children?: ReactNode;
        className?: string;
        onToggleSidebar?: () => void;
        showPageIndicator?: boolean;
        showPrint?: boolean;
        showSearch?: boolean;
        showSidebarToggle?: boolean;
        showZoomControls?: boolean;
        sidebarTogglePosition?: "end" | "start";
        style?: CSSProperties;
    }
    Index
    afterSearch?: ReactNode

    Controls placed right after the search field, set apart from print/children by a gap.

    afterZoom?: ReactNode

    Controls placed in the left group after page/zoom controls, separated by a gap.

    beforeSearch?: ReactNode

    Controls placed immediately before the search field.

    children?: ReactNode

    Extra controls, placed at the end of the bar.

    className?: string
    onToggleSidebar?: () => void
    showPageIndicator?: boolean

    Show the page number / total box. Defaults to true.

    showPrint?: boolean

    Show the print button. Defaults to false.

    showSearch?: boolean

    Show the search field. Defaults to true.

    showSidebarToggle?: boolean

    Show the sidebar toggle button. Supply onToggleSidebar to make it do something.

    showZoomControls?: boolean

    Show the zoom and fit controls. Defaults to true.

    sidebarTogglePosition?: "end" | "start"

    Which end of the bar the sidebar toggle sits on. Defaults to 'start'; pair it with a right-hand sidebar by passing 'end'.

    style?: CSSProperties