@ws-ui/ui-components 1.0.13 → 1.0.15
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.cjs +15 -15
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1919 -1908
- package/dist/ui-components.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2636,7 +2636,7 @@ export declare interface IDownshiftHookParams<T> {
|
|
|
2636
2636
|
onOpenChange?: (isOpen: boolean) => void;
|
|
2637
2637
|
inputValue?: string;
|
|
2638
2638
|
onInputChange?: (value: string) => void;
|
|
2639
|
-
getOptionLabel?: (option: T) =>
|
|
2639
|
+
getOptionLabel?: (option: T) => ReactNode;
|
|
2640
2640
|
getOptionValue?: (option: T) => string | number;
|
|
2641
2641
|
formatOptionLabel?: (option: T) => ReactNode;
|
|
2642
2642
|
items?: T[];
|
|
@@ -2812,7 +2812,7 @@ export declare interface ISelectContextValue<T = unknown> {
|
|
|
2812
2812
|
setHasMessage: Dispatch<SetStateAction<boolean>>;
|
|
2813
2813
|
options?: T[] | ISelectOptionGroup<T>[];
|
|
2814
2814
|
downshift: IDownshiftHookReturn<T>;
|
|
2815
|
-
getOptionLabel: (option: T) =>
|
|
2815
|
+
getOptionLabel: (option: T) => ReactNode;
|
|
2816
2816
|
getOptionValue: (option: T) => string | number;
|
|
2817
2817
|
isOptionDisabled: (option: T) => boolean;
|
|
2818
2818
|
formatOptionLabel?: (option: T) => ReactNode;
|