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.mjs
CHANGED
|
@@ -2611,7 +2611,8 @@ const Checkbox = ({
|
|
|
2611
2611
|
titleVariant = "L1_REGULAR",
|
|
2612
2612
|
titleStyle,
|
|
2613
2613
|
containerStyle,
|
|
2614
|
-
onPress
|
|
2614
|
+
onPress,
|
|
2615
|
+
hideCheckbox = false
|
|
2615
2616
|
}) => {
|
|
2616
2617
|
const [checked, setChecked] = useState(isChecked || false);
|
|
2617
2618
|
useEffect(() => {
|
|
@@ -2626,7 +2627,7 @@ const Checkbox = ({
|
|
|
2626
2627
|
{
|
|
2627
2628
|
style: styles$w.directionStyle
|
|
2628
2629
|
},
|
|
2629
|
-
/* @__PURE__ */ React.createElement(
|
|
2630
|
+
hideCheckbox ? null : /* @__PURE__ */ React.createElement(
|
|
2630
2631
|
Pressable,
|
|
2631
2632
|
{
|
|
2632
2633
|
testID: "Checkbox-Press",
|