Skip to content

Commit 27c8f2f

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { Component } from 'react'
2-
import { Animated, Dimensions, ScrollView, View } from 'react-native'
2+
import { Animated, Dimensions, ScrollView, View, ViewPropTypes } from 'react-native'
33

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

@@ -37,7 +37,7 @@ const IPropTypes = {
3737
renderScrollComponent: func,
3838
renderStickyHeader: func,
3939
stickyHeaderHeight: number,
40-
contentContainerStyle: View.propTypes.style,
40+
contentContainerStyle: ViewPropTypes.style,
4141
outputScaleValue: number
4242
}
4343

0 commit comments

Comments
 (0)