feat(base/ui/native): centered button label

This commit is contained in:
Calin-Teodor 2022-10-06 16:16:33 +03:00 committed by Calinteodor
parent 25bd824621
commit 179647c93c
1 changed files with 3 additions and 2 deletions

View File

@ -4,12 +4,13 @@ const BUTTON_HEIGHT = BaseTheme.spacing[7];
const button = {
borderRadius: BaseTheme.shape.borderRadius,
height: BUTTON_HEIGHT
display: 'flex',
height: BUTTON_HEIGHT,
justifyContent: 'center'
};
const buttonLabel = {
...BaseTheme.typography.bodyShortBold,
padding: 6,
textTransform: 'capitalize'
};