@mindly/ui-components 5.33.2 → 5.33.4
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,4 +1,4 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare enum SelectItemType {
|
|
3
3
|
Checkbox = "checkbox",
|
|
4
4
|
Radio = "radio"
|
|
@@ -10,7 +10,7 @@ type Props = {
|
|
|
10
10
|
name: string;
|
|
11
11
|
value: string;
|
|
12
12
|
checked: boolean;
|
|
13
|
-
onChange?: (
|
|
13
|
+
onChange?: (value: string) => void;
|
|
14
14
|
};
|
|
15
15
|
declare const CheckBoxItem: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
|
|
16
16
|
export default CheckBoxItem;
|
package/dist/index.d.ts
CHANGED
|
@@ -1767,7 +1767,7 @@ type Props$3 = {
|
|
|
1767
1767
|
name: string;
|
|
1768
1768
|
value: string;
|
|
1769
1769
|
checked: boolean;
|
|
1770
|
-
onChange?: (
|
|
1770
|
+
onChange?: (value: string) => void;
|
|
1771
1771
|
};
|
|
1772
1772
|
declare const CheckBoxItem: React__default.ForwardRefExoticComponent<Props$3 & React__default.RefAttributes<HTMLInputElement>>;
|
|
1773
1773
|
|