@data-c/ui 0.2.33 → 0.2.35
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/dist/index.d.ts +3 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -877,7 +877,7 @@ declare const Page: {
|
|
|
877
877
|
|
|
878
878
|
interface AutocompleteProps<T = any> {
|
|
879
879
|
onDoubleClick?: () => void;
|
|
880
|
-
onChange?: (value: T | null) => void;
|
|
880
|
+
onChange?: (value: T | T[] | null) => void;
|
|
881
881
|
value?: T | null;
|
|
882
882
|
options: Array<T>;
|
|
883
883
|
renderValue?: (value: T) => string;
|
|
@@ -891,6 +891,8 @@ interface AutocompleteProps<T = any> {
|
|
|
891
891
|
disabled?: boolean;
|
|
892
892
|
autoFocus?: boolean;
|
|
893
893
|
readonly?: boolean;
|
|
894
|
+
multiple?: boolean;
|
|
895
|
+
disableCloseOnSelect?: boolean;
|
|
894
896
|
}
|
|
895
897
|
declare function Autocomplete<T = any>(props: AutocompleteProps<T>): react_jsx_runtime.JSX.Element;
|
|
896
898
|
|