Skip to content

Commit

Permalink
Update Button.tsx style (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
KKA11010 committed Jun 23, 2023
1 parent a1e8437 commit d68edd8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ export default function Button({ txt, border, outlined, filled, disabled, onPres
disabled={disabled}
style={[
styles.touchableOpacity,
{ backgroundColor: hi[highlight] },
{ backgroundColor: hi[highlight], padding: 20 },
border ? { borderWidth: 1, borderColor: '#FAFAFA' } : {},
filled ? { backgroundColor: '#FAFAFA' } : {},
outlined ? { backgroundColor: 'transparent', borderWidth: 1, borderColor: hi[highlight] } : {}
outlined ? { backgroundColor: 'transparent', padding: 18, borderWidth: 1, borderColor: hi[highlight] } : {}
]}
onPress={onPress}
>
Expand Down Expand Up @@ -65,8 +65,7 @@ const styles = StyleSheet.create({
width: '100%'
},
touchableOpacity: {
padding: 20,
borderRadius: 50
borderRadius: 50,
},
btnTxt: {
color: '#FAFAFA',
Expand Down

0 comments on commit d68edd8

Please sign in to comment.