diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 00000000..1bab260e
Binary files /dev/null and b/.DS_Store differ
diff --git a/Button.windows.js b/Button.windows.js
new file mode 100644
index 00000000..c2cc1a45
--- /dev/null
+++ b/Button.windows.js
@@ -0,0 +1,14 @@
+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/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 00000000..20068996
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,3 @@
+## 0.7.0
+
+* ```ViewPager``` was replaced by ```ScrollView``` for android.
diff --git a/DefaultTabBar.js b/DefaultTabBar.js
index 7ccd6d95..bccd497f 100644
--- a/DefaultTabBar.js
+++ b/DefaultTabBar.js
@@ -5,21 +5,24 @@ const {
Text,
View,
Animated,
+ ViewPropTypes
} = ReactNative;
const Button = require('./Button');
+const PropTypes = require('prop-types');
+const createClass = require('create-react-class');
-const DefaultTabBar = React.createClass({
+const DefaultTabBar = createClass({
propTypes: {
- goToPage: React.PropTypes.func,
- activeTab: React.PropTypes.number,
- tabs: React.PropTypes.array,
- backgroundColor: React.PropTypes.string,
- activeTextColor: React.PropTypes.string,
- inactiveTextColor: React.PropTypes.string,
- textStyle: Text.propTypes.style,
- tabStyle: View.propTypes.style,
- renderTab: React.PropTypes.func,
- underlineStyle: View.propTypes.style,
+ goToPage: PropTypes.func,
+ activeTab: PropTypes.number,
+ tabs: PropTypes.array,
+ backgroundColor: PropTypes.string,
+ activeTextColor: PropTypes.string,
+ inactiveTextColor: PropTypes.string,
+ textStyle: ViewPropTypes.style,
+ tabStyle: ViewPropTypes.style,
+ renderTab: PropTypes.func,
+ underlineStyle: ViewPropTypes.style,
},
getDefaultProps() {
@@ -39,7 +42,7 @@ const DefaultTabBar = React.createClass({
const fontWeight = isTabActive ? 'bold' : 'normal';
return