File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import TextStylesPropTypes from 'react-native/Libraries/Text/TextStylePropTypes' ;
2
2
import DeprecatedViewStylePropTypes from 'react-native/Libraries/DeprecatedPropTypes/DeprecatedViewStylePropTypes' ;
3
- import ImageStylesPropTypes from 'react-native/Libraries/Image/ImageStylePropTypes ' ;
3
+ import DeprecatedImageStylesPropTypes from 'react-native/Libraries/DeprecatedPropTypes/DeprecatedImageStylePropTypes ' ;
4
4
5
5
// Filter prop-types that are only applicable to <Text> and not <View>
6
6
export let TextOnlyPropTypes = { } ;
@@ -59,8 +59,8 @@ const RNTextStylePropTypes = Object.keys(TextStylesPropTypes)
59
59
. reduce ( ( acc , k ) => { acc [ k ] = TextStylesPropTypes [ k ] ; return acc ; } , { } ) ;
60
60
const RNViewStylePropTypes = Object . keys ( DeprecatedViewStylePropTypes )
61
61
. reduce ( ( acc , k ) => { acc [ k ] = ViewStylesPropTypes [ k ] ; return acc ; } , { } ) ;
62
- const RNImageStylePropTypes = Object . keys ( ImageStylesPropTypes )
63
- . reduce ( ( acc , k ) => { acc [ k ] = ImageStylesPropTypes [ k ] ; return acc ; } , { } ) ;
62
+ const RNImageStylePropTypes = Object . keys ( DeprecatedImageStylesPropTypes )
63
+ . reduce ( ( acc , k ) => { acc [ k ] = DeprecatedImageStylesPropTypes [ k ] ; return acc ; } , { } ) ;
64
64
65
65
export const STYLESETS = Object . freeze ( { VIEW : 'view' , TEXT : 'text' , IMAGE : 'image' } ) ;
66
66
You can’t perform that action at this time.
0 commit comments