dhre-ui-kit 0.0.400 → 0.0.401

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/lib/index.d.ts CHANGED
@@ -110,6 +110,7 @@ interface CheckBoxProps {
110
110
  titleStyle?: TextStyle;
111
111
  containerStyle?: ViewStyle;
112
112
  onPress?: () => void;
113
+ hideCheckbox?: boolean;
113
114
  }
114
115
 
115
116
  declare const Checkbox: React$1.FC<CheckBoxProps>;
package/lib/index.js CHANGED
@@ -2647,7 +2647,8 @@ const Checkbox = ({
2647
2647
  titleVariant = "L1_REGULAR",
2648
2648
  titleStyle,
2649
2649
  containerStyle,
2650
- onPress
2650
+ onPress,
2651
+ hideCheckbox = false
2651
2652
  }) => {
2652
2653
  const [checked, setChecked] = React.useState(isChecked || false);
2653
2654
  React.useEffect(() => {
@@ -2662,7 +2663,7 @@ const Checkbox = ({
2662
2663
  {
2663
2664
  style: styles$w.directionStyle
2664
2665
  },
2665
- /* @__PURE__ */ React__default["default"].createElement(
2666
+ hideCheckbox ? null : /* @__PURE__ */ React__default["default"].createElement(
2666
2667
  reactNative.Pressable,
2667
2668
  {
2668
2669
  testID: "Checkbox-Press",