[ReactNative] resizeMode is not a nativeOnly prop

Summary:
resizeMode is a native prop, but it is also in the propTypes, so this causes an incorrect warning:

```
Prop resizeMode = `contain` should not be set directly on Image.
```

@public

Test Plan: No warnings on image example in UIExplorer
This commit is contained in:
Eric Vicenti 2015-06-23 08:55:04 -07:00
parent 1e66e5f53d
commit 47508566a0
1 changed files with 0 additions and 1 deletions

View File

@ -178,7 +178,6 @@ var nativeOnlyProps = {
src: true,
defaultImageSrc: true,
imageTag: true,
resizeMode: true,
};
if (__DEV__) {
verifyPropTypes(Image, RCTStaticImage.viewConfig, nativeOnlyProps);