diff --git a/Button.ios.js b/Button.ios.js deleted file mode 100644 index c2cc1a45..00000000 --- a/Button.ios.js +++ /dev/null @@ -1,14 +0,0 @@ -const React = require('react'); -const ReactNative = require('react-native'); -const { - TouchableOpacity, - View, -} = ReactNative; - -const Button = (props) => { - return - {props.children} - ; -}; - -module.exports = Button; diff --git a/Button.js b/Button.js new file mode 100644 index 00000000..b7aa4dc9 --- /dev/null +++ b/Button.js @@ -0,0 +1,9 @@ +const React = require("react"); +const ReactNative = require("react-native"); +const { TouchableOpacity, View } = ReactNative; + +const Button = props => { + return {props.children}; +}; + +module.exports = Button; diff --git a/package.json b/package.json index f4ca611f..32180ad5 100644 --- a/package.json +++ b/package.json @@ -29,9 +29,11 @@ }, "homepage": "https://github.com/brentvatne/react-native-scrollable-tab-view#readme", "dependencies": { - "react-timer-mixin": "^0.13.3", + "create-react-class": "^15.6.2", "prop-types": "^15.6.0", - "create-react-class": "^15.6.2" + "react": "16.7.0", + "react-native-web": "0.10.0", + "react-timer-mixin": "^0.13.3" }, "devDependencies": { "babel-eslint": "^6.1.2",