File tree Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -519,4 +519,4 @@ SPEC CHECKSUMS:
519519
520520PODFILE CHECKSUM: 2126ffbbdc07ffa06a809dbeeb492bf589bfdfad
521521
522- COCOAPODS: 1.10.1
522+ COCOAPODS: 1.11.2
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { SafeAreaView , ScrollView , StyleSheet } from 'react-native' ;
33import ButtonOutline from './Buttons/ButtonOutline/ButtonOutline' ;
4+ import { COLORS } from './Buttons/utils/colors' ;
45
56const App = ( ) => {
67 return (
7- < SafeAreaView style = { styles . container } >
8- < ScrollView >
9- < ButtonOutline materialIcon = { 'done' } title = { 'Click' } />
8+ < SafeAreaView >
9+ < ScrollView style = { styles . container } >
10+ < ButtonOutline
11+ materialIcon = { 'done' }
12+ title = { 'Click' }
13+ style = { { margin : 10 } }
14+ />
15+ < ButtonOutline
16+ useColor = { COLORS . GREEN }
17+ materialIcon = { 'done' }
18+ title = { 'Click' }
19+ iconAlignRight
20+ style = { { margin : 10 } }
21+ />
1022 </ ScrollView >
1123 </ SafeAreaView >
1224 ) ;
1325} ;
1426
1527const styles = StyleSheet . create ( {
1628 container : {
17- padding : 20 ,
29+ padding : 30 ,
1830 } ,
1931} ) ;
2032
Original file line number Diff line number Diff line change @@ -76,12 +76,10 @@ const ButtonOutline: FunctionComponent<ButtonOutlineProps> = ({
7676
7777 outlineText : {
7878 color : useColor , // same as main color
79- fontFamily : 'Nunito-SemiBold' ,
8079 textAlign : 'center' ,
8180 } ,
8281 outlineTextDisabled : {
8382 color : reduceOpacity ( useColor , textOpacityReducer ) , // main color with less opacity
84- fontFamily : 'Nunito-SemiBold' ,
8583 textAlign : 'center' ,
8684 } ,
8785 } ) ;
You can’t perform that action at this time.
0 commit comments