react-crud-mobile 1.0.694 → 1.0.696
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 -2
- 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 -2
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIButton.tsx +2 -2
|
@@ -369,8 +369,10 @@ function UIIcon(_ref) {
|
|
|
369
369
|
function UIButton(props) {
|
|
370
370
|
var scope = props.scope;
|
|
371
371
|
var element = scope.original;
|
|
372
|
+
var color = element.color;
|
|
372
373
|
var label = element.label;
|
|
373
374
|
var icon = element.icon;
|
|
375
|
+
if (!color) color = 'primaryLight';
|
|
374
376
|
var styles = {
|
|
375
377
|
buttonLabel: {
|
|
376
378
|
color: '#ffffff',
|
|
@@ -393,8 +395,8 @@ function UIButton(props) {
|
|
|
393
395
|
button: {
|
|
394
396
|
height: 50,
|
|
395
397
|
paddingHorizontal: 16,
|
|
396
|
-
backgroundColor:
|
|
397
|
-
borderRadius:
|
|
398
|
+
backgroundColor: color,
|
|
399
|
+
borderRadius: 24,
|
|
398
400
|
justifyContent: 'center',
|
|
399
401
|
alignItems: 'center',
|
|
400
402
|
flexDirection: 'row'
|