import { KeyboardEvent } from "react" ; import { ICloseableProps , IOpenableProps , IThemeableProps } from "props/common" ; /** Represents properties for the QuickSelect component. */ interface IQuickSelectProps extends ICloseableProps , IOpenableProps , IThemeableProps { /** The items to select within the quick select component. */ initialItems : JSX . Element [ ] ; /** The input value to provide to the search field, if any. */ inputValue ? : string ; /** A callback function invoked when user selects an item. */ onSelect ( selectedItem ) : void ; /** An optional callback function handling the keyUp event. */ onKeyUp ? ( event ) : void ; /**
     * An optional callback function invoked when the user updates the quick
     * select.
     */ onUpdate ? ( selectedItem ) : void ; } export default IQuickSelectProps ;