feat(base/ui/native): centered button label
This commit is contained in:
parent
25bd824621
commit
179647c93c
|
@ -4,12 +4,13 @@ const BUTTON_HEIGHT = BaseTheme.spacing[7];
|
||||||
|
|
||||||
const button = {
|
const button = {
|
||||||
borderRadius: BaseTheme.shape.borderRadius,
|
borderRadius: BaseTheme.shape.borderRadius,
|
||||||
height: BUTTON_HEIGHT
|
display: 'flex',
|
||||||
|
height: BUTTON_HEIGHT,
|
||||||
|
justifyContent: 'center'
|
||||||
};
|
};
|
||||||
|
|
||||||
const buttonLabel = {
|
const buttonLabel = {
|
||||||
...BaseTheme.typography.bodyShortBold,
|
...BaseTheme.typography.bodyShortBold,
|
||||||
padding: 6,
|
|
||||||
textTransform: 'capitalize'
|
textTransform: 'capitalize'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue