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 +1 -0
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
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",
|