react-crud-mobile 1.3.317 → 1.3.319
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 +6 -4
- 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 +6 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIToggle.tsx +5 -4
@@ -1228,7 +1228,8 @@ function UIToggle(props) {
|
|
1228
1228
|
style.width = width;
|
1229
1229
|
return style;
|
1230
1230
|
};
|
1231
|
-
return /*#__PURE__*/jsx(
|
1231
|
+
return /*#__PURE__*/jsx(View, {
|
1232
|
+
style: _extends({}, styles$7.container, scope.getStyle('items')),
|
1232
1233
|
children: options.map(function (item, i) {
|
1233
1234
|
return /*#__PURE__*/jsx(TouchableHighlight, {
|
1234
1235
|
style: getItemStyle(item),
|
@@ -1247,18 +1248,19 @@ var styles$7 = /*#__PURE__*/StyleSheet.create({
|
|
1247
1248
|
container: {
|
1248
1249
|
flex: 1,
|
1249
1250
|
width: '100%',
|
1250
|
-
|
1251
|
+
margin: 5,
|
1251
1252
|
justifyContent: 'center',
|
1252
1253
|
flexDirection: 'row',
|
1253
1254
|
alignItems: 'center'
|
1254
1255
|
},
|
1255
1256
|
item: {
|
1256
|
-
margin: 5,
|
1257
1257
|
backgroundColor: 'background',
|
1258
1258
|
justifyContent: 'center',
|
1259
1259
|
alignItems: 'center',
|
1260
1260
|
width: 'auto',
|
1261
|
-
flexDirection: 'row'
|
1261
|
+
flexDirection: 'row',
|
1262
|
+
flex: 1,
|
1263
|
+
borderRadius: 5
|
1262
1264
|
},
|
1263
1265
|
text: {
|
1264
1266
|
fontSize: 15,
|