pdfrx_web
    Preparing search index...

    Interface PdfAnnotationToolbarProps

    interface PdfAnnotationToolbarProps {
        className?: string;
        colors?: readonly string[];
        modeActive?: boolean;
        onClose?: () => void;
        style?: CSSProperties;
        tools?: readonly AnnotationTool[];
    }
    Index
    className?: string
    colors?: readonly string[]

    Preset colors offered in the color picker.

    modeActive?: boolean

    Whether this toolbar currently enables annotation-object interaction. Defaults to true; collapsible hosts should pass their visible/open state.

    onClose?: () => void

    When provided, a close (✕) button is shown. The toolbar clears any active drawing tool when it unmounts, so hosts can just hide it.

    style?: CSSProperties
    tools?: readonly AnnotationTool[]

    Which tools to show, in order. Note remains opt-in.