Highlighter( props: { cssSelectionColor?: string; enableAreaSelection?: (event: MouseEvent) => boolean; highlights: Highlights; layerBackgroundColor?: string; layerScrolledToBackgroundColor?: string; pdfDocument?: PDFDocumentProxy; pdfViewer?: PDFViewer; renderHighlightLayer: () => Element; } & { children?: ReactNode } & RefAttributes<HighlighterRef>,): ReactNode Parameters
- props: {
cssSelectionColor?: string;
enableAreaSelection?: (event: MouseEvent) => boolean;
highlights: Highlights;
layerBackgroundColor?: string;
layerScrolledToBackgroundColor?: string;
pdfDocument?: PDFDocumentProxy;
pdfViewer?: PDFViewer;
renderHighlightLayer: () => Element;
} & { children?: ReactNode } & RefAttributes<HighlighterRef>OptionalcssSelectionColor?: string
OptionalenableAreaSelection?: (event: MouseEvent) => boolean
OptionallayerBackgroundColor?: string
OptionallayerScrolledToBackgroundColor?: string
OptionalpdfDocument?: PDFDocumentProxy
OptionalpdfViewer?: PDFViewer
renderHighlightLayer: () => Element
Optionalchildren?: ReactNode
Returns ReactNode
Properties
Readonly$$typeof
$$typeof: symbol
OptionaldefaultProps
defaultProps?: Partial< { cssSelectionColor?: string; enableAreaSelection?: (event: MouseEvent) => boolean; highlights: Highlights; layerBackgroundColor?: string; layerScrolledToBackgroundColor?: string; pdfDocument?: PDFDocumentProxy; pdfViewer?: PDFViewer; renderHighlightLayer: () => Element; } & { children?: ReactNode } & RefAttributes<HighlighterRef>,> OptionaldisplayName
displayName?: string
OptionalpropTypes
propTypes?: WeakValidationMap< { cssSelectionColor?: string; enableAreaSelection?: (event: MouseEvent) => boolean; highlights: Highlights; layerBackgroundColor?: string; layerScrolledToBackgroundColor?: string; pdfDocument?: PDFDocumentProxy; pdfViewer?: PDFViewer; renderHighlightLayer: () => Element; } & { children?: ReactNode } & RefAttributes<HighlighterRef>,>
CSS selection highlight color