Skip to content

Commit

Permalink
Merged #19
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaromb committed Feb 9, 2016
1 parent 0194485 commit 3abb743
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions Example/button/Example.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ export default class Example extends React.Component {
}}>
Hello
</Button>
<Button disabledStyle={styles.buttonStyle8} isDisabled={true} textStyle={styles.textStyle8}>
Disabled
</Button>
</View>
)
}
Expand Down Expand Up @@ -124,5 +127,16 @@ const styles = StyleSheet.create({
backgroundColor: 'white',
borderRadius: 0,
borderWidth: 3,
},
buttonStyle8: {
backgroundColor: 'white',
borderColor: '#333',
borderWidth: 2,
borderRadius: 22,
},
textStyle8: {
fontFamily: 'Avenir Next',
fontWeight: '500',
color: '#333',
}
})
2 changes: 1 addition & 1 deletion Example/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"start": "node_modules/react-native/packager/packager.sh"
},
"dependencies": {
"apsl-react-native-button": "^2.4.1",
"apsl-react-native-button": "^2.4.2",
"react-native": "^0.18.0"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apsl-react-native-button",
"version": "2.4.1",
"version": "2.4.2",
"description": "React Native button component with rounded corners.",
"main": "Button.js",
"scripts": {
Expand Down

0 comments on commit 3abb743

Please sign in to comment.