UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

17 lines (16 loc) 697 B
import { ButtonWithIconProps } from '../ButtonWithIcon'; import { InputTextFuzzyProps } from '../InputTextFuzzy'; export interface TypeAheadDropdownProps { /** The props to set up the dropdown button */ dropdownButton: ButtonWithIconProps; /** The props to set up the inputTextFuzzy */ inputText: InputTextFuzzyProps; /** Default text value for the selection */ defaultValue?: string; /** Custom keydown callback */ onKeyDown?(...args: unknown[]): unknown; /** Custom suggestion onClick callback */ onSuggestionClick?(...args: unknown[]): unknown; } declare const TypeAheadDropdown: (props: TypeAheadDropdownProps) => any; export default TypeAheadDropdown;