Skip to content

Commit

Permalink
Compatible with RN v0.36.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sohobloo committed Dec 1, 2016
1 parent c8873cc commit 0fa583c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ You can find them in the example.

## Update History

### v0.4.0-rc.2
- Enhancement: Compatible with `react-native` v0.36.0 which has a [break change](https://github.com/facebook/react-native/commit/0a9b6bedb312eba22c5bc11498b1cc41363e5f27) causes the default button with zero size.

### v0.4.0-rc.1
- New feature: [\#11](https://github.com/sohobloo/react-native-modal-dropdown/issues/11) Open `renderSeparator` prop API.
- New feature:
Expand Down
2 changes: 1 addition & 1 deletion components/ModalDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export default class ModalDropdown extends Component {

const styles = StyleSheet.create({
button: {
flex: 1,
flexGrow: 1,
justifyContent: 'center',
},
buttonText: {
Expand Down
1 change: 0 additions & 1 deletion example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ const styles = StyleSheet.create({
width: 100,
},
dropdown_5: {
alignSelf: 'flex-end',
margin: 8,
borderColor: 'lightgray',
borderWidth: 1,
Expand Down
8 changes: 4 additions & 4 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "react-native-modal-dropdown-demo",
"version": "0.4.0-rc.1",
"version": "0.4.0-rc.2",
"description": "A demo for react-native-modal-dropdown component.",
"homepage": "https://github.com/sohobloo/react-native-modal-dropdown",
"license": "MIT",
"author": "sohobloo <[email protected]> (https://github.com/sohobloo)",
"dependencies": {
"react": "15.3.1",
"react-native": "0.33.0",
"react-native-modal-dropdown": "0.4.0-rc.1",
"react": "~15.3.1",
"react-native": "0.36.0",
"react-native-modal-dropdown": "latest"
},
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-modal-dropdown",
"version": "0.4.0-rc.1",
"version": "0.4.0-rc.2",
"description": "A react-native dropdown component for both iOS and Android.",
"keywords": [
"react",
Expand Down

0 comments on commit 0fa583c

Please sign in to comment.