File tree 3 files changed +16
-2
lines changed
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 {
70
70
} } >
71
71
Hello
72
72
</ Button >
73
+ < Button disabledStyle = { styles . buttonStyle8 } isDisabled = { true } textStyle = { styles . textStyle8 } >
74
+ Disabled
75
+ </ Button >
73
76
</ View >
74
77
)
75
78
}
@@ -124,5 +127,16 @@ const styles = StyleSheet.create({
124
127
backgroundColor : 'white' ,
125
128
borderRadius : 0 ,
126
129
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' ,
127
141
}
128
142
} )
Original file line number Diff line number Diff line change 6
6
"start" : " node_modules/react-native/packager/packager.sh"
7
7
},
8
8
"dependencies" : {
9
- "apsl-react-native-button" : " ^2.4.1 " ,
9
+ "apsl-react-native-button" : " ^2.4.2 " ,
10
10
"react-native" : " ^0.18.0"
11
11
}
12
12
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " apsl-react-native-button" ,
3
- "version" : " 2.4.1 " ,
3
+ "version" : " 2.4.2 " ,
4
4
"description" : " React Native button component with rounded corners." ,
5
5
"main" : " Button.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments