react-crud-mobile 1.3.312 → 1.3.314
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 +9 -0
- 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 +9 -0
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +10 -0
package/package.json
CHANGED
@@ -583,6 +583,16 @@ export default function UIElement(props: ElementType) {
|
|
583
583
|
...getStyle('box', { ...boxStyle.box, alignSelf: 'stretch' }),
|
584
584
|
};
|
585
585
|
|
586
|
+
let borderWidth = original.boxBorder;
|
587
|
+
|
588
|
+
if (borderWidth || borderWidth === 0) {
|
589
|
+
if (borderWidth === true) {
|
590
|
+
borderWidth = 1;
|
591
|
+
}
|
592
|
+
|
593
|
+
box = { ...box, borderWidth };
|
594
|
+
}
|
595
|
+
|
586
596
|
return (
|
587
597
|
<View style={getStyle('card', { ...box })}>
|
588
598
|
<View
|