react-crud-mobile 1.0.634 → 1.0.636
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/dist/react-crud-mobile.cjs.development.js +4 -1
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +4 -1
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +3 -1
- package/src/elements/core/UISwitch.tsx +1 -0
|
@@ -581,6 +581,7 @@ function UISwitch(props) {
|
|
|
581
581
|
};
|
|
582
582
|
return /*#__PURE__*/jsxRuntime.jsx(reactNative.Switch, {
|
|
583
583
|
value: value,
|
|
584
|
+
style: scope.getStyle('element'),
|
|
584
585
|
onValueChange: onChange // Alterna o estado
|
|
585
586
|
});
|
|
586
587
|
}
|
|
@@ -1636,7 +1637,9 @@ elementStyle.input = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
|
1636
1637
|
});
|
|
1637
1638
|
elementStyle["switch"] = {
|
|
1638
1639
|
inner: {
|
|
1639
|
-
|
|
1640
|
+
paddingBottom: 6,
|
|
1641
|
+
paddingTop: 6,
|
|
1642
|
+
paddingHorizontal: 25
|
|
1640
1643
|
}
|
|
1641
1644
|
};
|
|
1642
1645
|
elementStyle.quantity = {
|