File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ export default class Example extends React.Component {
7070 } } >
7171 Hello
7272 </ Button >
73+ < Button disabledStyle = { styles . buttonStyle8 } isDisabled = { true } textStyle = { styles . textStyle8 } >
74+ Disabled
75+ </ Button >
7376 </ View >
7477 )
7578 }
@@ -124,5 +127,16 @@ const styles = StyleSheet.create({
124127 backgroundColor : 'white' ,
125128 borderRadius : 0 ,
126129 borderWidth : 3 ,
130+ } ,
131+ buttonStyle8 : {
132+ backgroundColor : 'white' ,
133+ borderColor : '#333' ,
134+ borderWidth : 2 ,
135+ borderRadius : 22 ,
136+ } ,
137+ textStyle8 : {
138+ fontFamily : 'Avenir Next' ,
139+ fontWeight : '500' ,
140+ color : '#333' ,
127141 }
128142} )
Original file line number Diff line number Diff line change 66 "start" : " node_modules/react-native/packager/packager.sh"
77 },
88 "dependencies" : {
9- "apsl-react-native-button" : " ^2.4.1 " ,
9+ "apsl-react-native-button" : " ^2.4.2 " ,
1010 "react-native" : " ^0.18.0"
1111 }
1212}
Original file line number Diff line number Diff line change 11{
22 "name" : " apsl-react-native-button" ,
3- "version" : " 2.4.1 " ,
3+ "version" : " 2.4.2 " ,
44 "description" : " React Native button component with rounded corners." ,
55 "main" : " Button.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments