Skip to content

Commit

Permalink
Merge pull request #262 from hyochan/master
Browse files Browse the repository at this point in the history
Remove `BackAndroid`
  • Loading branch information
maxs15 authored Jan 29, 2019
2 parents ee06d52 + 6ab2025 commit ef9b154
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ A react native <Modal> component, easy, fully customizable, implementing the 'sw
## Example
Check [index.js](https://github.com/maxs15/react-native-modalbox/blob/master/Example/index.ios.js) in the Example folder.

## Version note
| react-native | react-native-modalbox |
| :------------ |:---------------:|
| <= 0.57 | <= 1.6.0 |
| >= 0.58 | >= 1.6.1 |

## Properties

| Prop | Default | Type | Description |
Expand Down
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ var {
TouchableWithoutFeedback,
Dimensions,
Easing,
BackAndroid,
BackHandler,
Platform,
Modal,
Expand All @@ -19,7 +18,7 @@ var {

var createReactClass = require('create-react-class');

var BackButton = BackHandler || BackAndroid;
var BackButton = BackHandler;

var screen = Dimensions.get('window');

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-modalbox",
"version": "1.6.0",
"version": "1.6.1",
"description": "A <Modal/> component for react-native",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit ef9b154

Please sign in to comment.