react-bootstrap-typeahead
Version:
React typeahead with Bootstrap styling
17 lines (16 loc) • 497 B
TypeScript
import PropTypes from 'prop-types';
import React from 'react';
export interface HighlighterProps {
children: string;
highlightClassName?: string;
search: string;
}
declare const Highlighter: {
({ children, highlightClassName, search, }: HighlighterProps): React.JSX.Element;
propTypes: {
children: PropTypes.Validator<string>;
highlightClassName: PropTypes.Requireable<string>;
search: PropTypes.Validator<string>;
};
};
export default Highlighter;