import { PureComponent } from 'react'; import './index.less'; interface IconSetterProps { value: string; type: string; defaultValue: string; placeholder: string; hasClear: boolean; onChange: (icon: string) => undefined; icons: string[]; } interface IconSetterState { setterValue: string | object | null; } export default class IconSetter extends PureComponent { static defaultProps: { value: any; type: string; defaultValue: string; hasClear: boolean; icons: string[]; placeholder: string; onChange: () => any; }; static displayName: string; static getDerivedStateFromProps(nextProps: any, prevState: any): any; state: { setterValue: any; }; _onChange: (icon: string) => void; onInputChange: (icon: string) => void; onSelectIcon: (icon: string) => void; render(): JSX.Element; } export {};