Skip to content

Commit

Permalink
Change text PropTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
irmakcosarsahna committed Jul 10, 2022
1 parent 3fbc902 commit 3dd4741
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DefaultTabBar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const React = require('react');
const { ViewPropTypes } = require('deprecated-react-native-prop-types');
const { ViewPropTypes, TextPropTypes } = require('deprecated-react-native-prop-types');
const PropTypes = require('prop-types');
const createReactClass = require('create-react-class');
const {
Expand All @@ -18,7 +18,7 @@ const DefaultTabBar = createReactClass({
backgroundColor: PropTypes.string,
activeTextColor: PropTypes.string,
inactiveTextColor: PropTypes.string,
textStyle: Text.propTypes.style,
textStyle: TextPropTypes.style,
tabStyle: ViewPropTypes.style,
renderTab: PropTypes.func,
underlineStyle: ViewPropTypes.style,
Expand Down
4 changes: 2 additions & 2 deletions ScrollableTabBar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const React = require('react');
const {ViewPropTypes} = require('deprecated-react-native-prop-types');
const { ViewPropTypes, TextPropTypes } = require('deprecated-react-native-prop-types');
const PropTypes = require('prop-types');
const createReactClass = require('create-react-class');
const {
Expand Down Expand Up @@ -27,7 +27,7 @@ const ScrollableTabBar = createReactClass({
style: ViewPropTypes.style,
tabStyle: ViewPropTypes.style,
tabsContainerStyle: ViewPropTypes.style,
textStyle: Text.propTypes.style,
textStyle: TextPropTypes.style,
renderTab: PropTypes.func,
underlineStyle: ViewPropTypes.style,
onScroll: PropTypes.func,
Expand Down

0 comments on commit 3dd4741

Please sign in to comment.