react-crud-mobile 1.0.693 → 1.0.694
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 -15
- 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 -15
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIButton.tsx +5 -12
|
@@ -369,10 +369,8 @@ 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;
|
|
373
372
|
var label = element.label;
|
|
374
373
|
var icon = element.icon;
|
|
375
|
-
if (!color) color = 'primaryLight';
|
|
376
374
|
var styles = {
|
|
377
375
|
buttonLabel: {
|
|
378
376
|
color: '#ffffff',
|
|
@@ -393,20 +391,13 @@ function UIButton(props) {
|
|
|
393
391
|
fontSize: 18
|
|
394
392
|
},
|
|
395
393
|
button: {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
textAlign: 'center',
|
|
401
|
-
verticalAling: 'middle',
|
|
402
|
-
borderRadius: 24,
|
|
403
|
-
backgroundColor: color,
|
|
404
|
-
color: '#ffffff',
|
|
394
|
+
height: 50,
|
|
395
|
+
paddingHorizontal: 16,
|
|
396
|
+
backgroundColor: 'primary',
|
|
397
|
+
borderRadius: 8,
|
|
405
398
|
justifyContent: 'center',
|
|
406
|
-
|
|
407
|
-
flexDirection: 'row'
|
|
408
|
-
minWidth: 44,
|
|
409
|
-
flex: 1
|
|
399
|
+
alignItems: 'center',
|
|
400
|
+
flexDirection: 'row'
|
|
410
401
|
}
|
|
411
402
|
};
|
|
412
403
|
var onClick = function onClick(e) {
|