Skip to content

Commit 575abd8

Browse files
jpstrikesbackgitim
authored andcommitted
Use ViewPropTypes in row (#103)
1 parent f49f452 commit 575abd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Row.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, {Component, cloneElement} from 'react';
22
import PropTypes from 'prop-types';
3-
import {Animated, PanResponder, StyleSheet} from 'react-native';
3+
import {Animated, PanResponder, StyleSheet, ViewPropTypes} from 'react-native';
44
import {shallowEqual} from './utils';
55

66
export default class Row extends Component {
@@ -9,7 +9,7 @@ export default class Row extends Component {
99
animated: PropTypes.bool,
1010
disabled: PropTypes.bool,
1111
horizontal: PropTypes.bool,
12-
style: Animated.View.propTypes.style,
12+
style: ViewPropTypes.style,
1313
location: PropTypes.shape({
1414
x: PropTypes.number,
1515
y: PropTypes.number,

0 commit comments

Comments
 (0)