@producteca/producteca-ui-kit 1.31.3 → 1.32.0
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.
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseSelectProps } from '../selectField/selectField.types';
|
|
2
|
+
import { BaseSelectProps, SelectOption } from '../selectField/selectField.types';
|
|
3
3
|
|
|
4
4
|
export interface SearcherProps extends BaseSelectProps {
|
|
5
5
|
clearOnSelect?: boolean;
|
|
6
6
|
onInputChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7
7
|
isLoading?: boolean;
|
|
8
|
+
loadOptions?: (inputValue: string, callback: (options: SelectOption[]) => void) => void;
|
|
9
|
+
cacheOptions?: boolean;
|
|
10
|
+
defaultOptions?: boolean | SelectOption[];
|
|
8
11
|
input?: {
|
|
9
12
|
value: any;
|
|
10
13
|
onChange: (value: any) => void;
|
package/dist/locales/es.d.ts
CHANGED
|
@@ -108,6 +108,12 @@ declare const _default: {
|
|
|
108
108
|
writeToSearch: string;
|
|
109
109
|
clearOnSelectDescription: string;
|
|
110
110
|
clearOnSelectStoryDescription: string;
|
|
111
|
+
isLoading: string;
|
|
112
|
+
loadOptions: string;
|
|
113
|
+
cacheOptions: string;
|
|
114
|
+
defaultOptions: string;
|
|
115
|
+
apiSimulationDescription: string;
|
|
116
|
+
apiSimulationLabel: string;
|
|
111
117
|
};
|
|
112
118
|
breadcrumb: {
|
|
113
119
|
itemFormat: string;
|