Skip to content

Commit ad05204

Browse files
committed
Attempt to fix prop type reference
1 parent a5b11cf commit ad05204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Animated, Dimensions, ScrollView, View } from 'react-native'
33

44
const styles = require('./styles')
55

6-
const { bool, func, number, string } = React.PropTypes
6+
import { bool, func, number, string } from 'prop-types'
77

88
const window = Dimensions.get('window')
99

0 commit comments

Comments
 (0)