@trackunit/react-form-components 0.2.12 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import { SelectComponents } from "react-select/dist/declarations/src/components"
|
|
|
6
6
|
import { DisabledForReasons } from "../BaseInput/DisabledForReasonsTip";
|
|
7
7
|
export interface AsyncSelect<Option, Group extends GroupBase<Option> = GroupBase<Option>> {
|
|
8
8
|
loadOptions: (input: string) => void | Promise<OptionsOrGroups<Option, Group>>;
|
|
9
|
-
defaultOptions
|
|
9
|
+
defaultOptions?: OptionsOrGroups<Option, Group>;
|
|
10
10
|
cacheOptions: boolean;
|
|
11
11
|
}
|
|
12
12
|
export type SelectProps<Option, IsAsync extends boolean, IsMulti extends boolean, GroupType extends GroupBase<Option>> = CommonProps & MappedOmit<Props<Option, IsMulti, GroupType>, "isDisabled"> & {
|