import ReactSelectCreatable, { CreatableProps as ReactSelectCreatableProps, } from 'react-select/creatable'; import ReactSelectAsync, { AsyncProps as ReactSelectAsyncProps, } from 'react-select/async'; import ReactSelect, { GroupBase, OptionsOrGroups, Props as ReactSelectProps, } from 'react-select'; import clsx from 'clsx'; import { RefAttributes, useMemo } from 'react'; import ReactSelectType from 'react-select/dist/declarations/src/Select'; import './ReactSelect.css'; import { AutomationTestingProps } from '@/types'; interface DefaultOption { value: string; label: string; } type RegularProps< Option = DefaultOption, IsMulti extends boolean = false, Group extends GroupBase