sapo-components-ui-rn 1.0.44 → 1.0.45

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.
@@ -3,7 +3,7 @@ import { StyleProp, ViewStyle, TextStyle } from "react-native";
3
3
  interface CheckboxProps {
4
4
  style?: StyleProp<ViewStyle>;
5
5
  content: string;
6
- onPress?: (val?: any) => void;
6
+ onPress?: () => void;
7
7
  textStyle?: StyleProp<TextStyle>;
8
8
  disabled?: boolean;
9
9
  leftIcon?: React.ReactNode;
@@ -3,7 +3,7 @@ import { StyleProp, ViewStyle, TextStyle } from "react-native";
3
3
  interface RadioButtonProps {
4
4
  style?: StyleProp<ViewStyle>;
5
5
  content: string;
6
- onPress?: (val?: any) => void;
6
+ onPress?: () => void;
7
7
  textStyle?: StyleProp<TextStyle>;
8
8
  disabled?: boolean;
9
9
  leftIcon?: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sapo-components-ui-rn",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "description": "React Native UI Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -10,7 +10,7 @@ import Icon from "../Icon";
10
10
  interface CheckboxProps {
11
11
  style?: StyleProp<ViewStyle>;
12
12
  content: string;
13
- onPress?: (val?: any) => void;
13
+ onPress?: () => void;
14
14
  textStyle?: StyleProp<TextStyle>;
15
15
  disabled?: boolean;
16
16
  leftIcon?: React.ReactNode;
@@ -10,7 +10,7 @@ import Icon from "../Icon";
10
10
  interface RadioButtonProps {
11
11
  style?: StyleProp<ViewStyle>;
12
12
  content: string;
13
- onPress?: (val?: any) => void;
13
+ onPress?: () => void;
14
14
  textStyle?: StyleProp<TextStyle>;
15
15
  disabled?: boolean;
16
16
  leftIcon?: React.ReactNode;