We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc91d9 commit 2e279c7Copy full SHA for 2e279c7
index.js
@@ -4,6 +4,7 @@ import {
4
Text,
5
View,
6
Platform,
7
+ ViewPropTypes,
8
} from 'react-native';
9
import PropTypes from 'prop-types'
10
@@ -12,7 +13,7 @@ import styles from './styles';
12
13
14
const ButtonShape = {
15
title: PropTypes.string.isRequired,
- style: View.propTypes.style,
16
+ style: ViewPropTypes.style,
17
handler: PropTypes.func,
18
disabled: PropTypes.bool,
19
};
@@ -83,7 +84,7 @@ export default class NavigationBar extends Component {
83
84
PropTypes.element,
85
PropTypes.oneOf([null]),
86
]),
- containerStyle: View.propTypes.style,
87
+ containerStyle: ViewPropTypes.style,
88
89
90
static defaultProps = {
0 commit comments