Codemod ImageStyleProp

Summary:
Created by running:

```
$ js1 codeshift rn-stylesheet-exports --component="Image" --prop="ImageStyleProp" ./
$ hg status -n --change . | xargs js1 prettier
```

drop-conflicts

Reviewed By: TheSavior

Differential Revision: D13565530

fbshipit-source-id: cc1ae4274db315bce607c2b62db786f87a2cfc21
This commit is contained in:
Rick Hanlon
2019-01-03 06:51:05 -08:00
committed by Facebook Github Bot
parent 44a289cf26
commit 2b883abc06
2 changed files with 2 additions and 2 deletions

View File

@@ -23,9 +23,10 @@ const ImageViewManager = NativeModules.ImageViewManager;
const RCTImageView = requireNativeComponent('RCTImageView');
import type {ImageStyleProp} from 'StyleSheet';
import type {ImageProps as ImagePropsType} from 'ImageProps';
import type {ImageStyleProp} from 'StyleSheet';
function getSize(
uri: string,
success: (width: number, height: number) => void,

View File

@@ -13,7 +13,6 @@
const StyleSheet = require('StyleSheet');
import type {ImageStyleProp, TextStyleProp} from 'StyleSheet';
const imageStyle = {tintColor: 'rgb(0, 0, 0)'};
const textStyle = {color: 'rgb(0, 0, 0)'};