import React from 'react'; import Select, { Props as SelectProps, GroupBase } from 'react-select'; import Creatable from 'react-select/creatable'; import Async from 'react-select/async'; export type Option = { label: string; value: string }; export type SelectSingleProps = SelectProps>; export type SelectMultiProps = SelectProps>; export function SelectSingle(props: SelectSingleProps) { return ; } export type CreatableSelectProps = SelectProps>; export function TagsSelect(props: CreatableSelectProps) { return ; } export type AsyncSelectProps = React.ComponentProps>> & { isMulti?: boolean; }; export function AsyncSelect(props: AsyncSelectProps) { return ; }