UNPKG

react-highlight-search

Version:

Text highlight with deep search through DOM elements.

16 lines 727 B
import React from "react"; import { OnMatchDataType } from "../types"; import "./styles.css"; type PageSearchWrapperProps = { searchString: string; setTriggerSearch?: React.Dispatch<React.SetStateAction<((text: string) => void) | undefined>>; searchMinLength?: number; onMatchData?: OnMatchDataType; children: React.ReactElement | JSX.Element; spanClassName?: string; ignoreCase?: boolean; index?: number; }; declare const _default: React.MemoExoticComponent<({ searchString, setTriggerSearch, searchMinLength, onMatchData, children, spanClassName, ignoreCase, index, }: PageSearchWrapperProps) => React.JSX.Element>; export default _default; //# sourceMappingURL=HighlightSearchWrapper.d.ts.map