Skip to content

Commit 3abb743

Browse files
author
alvaromb
committed
Merged #19
1 parent 0194485 commit 3abb743

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

Example/button/Example.js

+14
Original file line numberDiff line numberDiff 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
})

Example/button/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

0 commit comments

Comments
 (0)