pdfrx_web
    Preparing search index...

    Interface PdfSearchBoxProps

    Props for PdfSearchBox.

    interface PdfSearchBoxProps {
        autoFocus?: boolean;
        className?: string;
        onClose?: () => void;
        placeholder?: string;
        style?: CSSProperties;
    }
    Index
    autoFocus?: boolean

    Focus the input on mount — e.g. when the box appears from a collapsed toggle.

    className?: string
    onClose?: () => void

    When set, the clear (✕) button dismisses the whole box instead of just clearing the query: it resets the search and then calls this. Used by PdfToolbar to close its collapsed mobile search row. The button is then always shown (so the box can be closed before anything is typed).

    placeholder?: string
    style?: CSSProperties