react-bootstrap-typeahead
Version:
React typeahead with Bootstrap styling
14 lines (13 loc) • 427 B
TypeScript
import { LabelKey, Option } from '../types';
interface HintProps {
activeIndex: number;
initialItem?: Option;
isFocused: boolean;
isMenuShown: boolean;
labelKey: LabelKey;
multiple: boolean;
selected: Option[];
text: string;
}
declare function getHintText({ activeIndex, initialItem, isFocused, isMenuShown, labelKey, multiple, selected, text, }: HintProps): string;
export default getHintText;