fixes #6 defined propType error. (thanks @benjamingeorge)

This commit is contained in:
yuji
2015-04-30 17:06:13 +08:00
parent ddbc48506d
commit 21f0b00138
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@@ -139,7 +139,7 @@ exports['default'] = _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['d
autoplayTimeout: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.number,
autoplayDirection: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.bool,
index: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.number,
renderPagination: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes['function'] },
renderPagination: _React$StyleSheet$Text$View$ScrollView$TouchableOpacity2['default'].PropTypes.func },
mixins: [_TimerMixin2['default']],

View File

@@ -130,7 +130,7 @@ export default React.createClass({
autoplayTimeout : React.PropTypes.number,
autoplayDirection : React.PropTypes.bool,
index : React.PropTypes.number,
renderPagination : React.PropTypes.function,
renderPagination : React.PropTypes.func,
},
mixins: [TimerMixin],