import * as React from "react"; import Select from "react-select"; import VirtualizedSelect from "react-virtualized-select"; /*Example TValue.*/ interface Example { name: string; } /*Example generic class.*/ class ExampleSelectAsync extends VirtualizedSelect { }
} selectComponent={Select} options={[]} />
} selectComponent={Select} loadOptions={(input: string) => Promise.resolve([{name: 'Hi'}])} />
;