UNPKG

quill-component-library

Version:
59 lines (58 loc) 1.92 kB
import React from 'react'; interface DropdownInputProps { options: Array<any>; className?: string; disabled?: boolean; error?: string; handleCancel?: (event: any) => void; handleChange?: (selection: any | any[]) => void; helperText?: string; label?: string; id?: string; isMulti?: boolean; isSearchable?: boolean; onClick?: (event?: any) => void; optionType?: string; placeholder?: string; timesSubmitted?: Number; type?: string; usesCustomOption?: boolean; value?: string; } interface DropdownInputState { active: boolean; errorAcknowledged: boolean; menuIsOpen: boolean; options: Array<any>; cursor: number | null; inputValue: string; } export declare class DropdownInput extends React.Component<DropdownInputProps, DropdownInputState> { private input; private node; constructor(props: any); componentDidMount(): void; componentDidUpdate(_: any, prevState: any): void; componentWillReceiveProps(nextProps: any): void; componentWillUnmount(): void; handleUpdatedOptions: (receivedOptions: any) => void; handleInputActivation: () => void; setOptionFocus: () => void; deactivateInput: () => void; filteredOptions: () => any[]; handleClick: (e: any) => void; handleInputChange: (inputValue: any, action: any) => void; updateCursor: (cursor: any) => void; handleErrorAcknowledgement: () => void; onKeyDown: (event: any) => void; updateFocusedOption: () => void; handleKeyDown: (e: any) => void; handleEnterWithFocusedOption: () => void; renderHelperText(): JSX.Element; renderErrorText(): JSX.Element; handleOptionSelection: (selection: any) => void; handleKeyDownOnInputContainer: (e: any) => void; renderInput(): JSX.Element; render(): JSX.Element; } export {};