UNPKG

@wix/design-system

Version:

@wix/design-system

23 lines 903 B
import React from 'react'; import { AutoCompleteWithLabelProps } from './AutoCompleteWithLabel.types'; import type { DropdownLayoutValueOption } from '../DropdownLayout'; interface AutoCompleteWithLabelState { value: string | number; isEditing: boolean; } declare class AutoCompleteWithLabel extends React.PureComponent<AutoCompleteWithLabelProps, AutoCompleteWithLabelState> { static displayName: string; static defaultProps: { autocomplete: string; label: string; options: never[]; onSelect: () => void; }; constructor(props: AutoCompleteWithLabelProps); onSelect: (option: DropdownLayoutValueOption) => void; onChange: (event: React.ChangeEvent<HTMLInputElement>) => void; _isInputControlled: () => boolean; render(): React.JSX.Element; } export default AutoCompleteWithLabel; //# sourceMappingURL=AutoCompleteWithLabel.d.ts.map