UNPKG

react-bootstrap-typeahead

Version:
20 lines (19 loc) 559 B
/// <reference types="react" /> import PropTypes from 'prop-types'; export interface HighlighterProps { children: string; highlightClassName?: string; search: string; } declare const Highlighter: { ({ children, highlightClassName, search, }: HighlighterProps): JSX.Element; propTypes: { children: PropTypes.Validator<string>; highlightClassName: PropTypes.Requireable<string>; search: PropTypes.Validator<string>; }; defaultProps: { highlightClassName: string; }; }; export default Highlighter;