fixed button on ios

This commit is contained in:
Danica Erediano
2022-12-06 13:01:23 +08:00
parent a2c6080e5d
commit 9b1664e4e8
2 changed files with 3 additions and 2 deletions

View File

@@ -10,8 +10,9 @@ import { Theme, Spacing } from './styleUtils';
export const Button: React.FC<ButtonProps> = (props) => {
const type = props.type || 'solid';
const buttonStyle: StyleProp<ViewStyle> = [
Theme.ButtonStyles.fill,
props.fill ? Theme.ButtonStyles.fill : null,
Theme.ButtonStyles[type],
{ width: '100%' },
];
const containerStyle: StyleProp<ViewStyle> = [