react-bootstrap-typeahead
Version:
React typeahead with Bootstrap styling
20 lines (19 loc) • 559 B
TypeScript
/// <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;