mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-02 17:47:21 +08:00
Summary: In 0.46, as warning's advice, I use `ImageBackground` to replace `Image`s which used as background image wrapper, and in some cases, I also wrap `ImageBackground` with `TouchableHighlight` to make it clickable. But here comes an error: > Touchable child must either be native or forward setNativeProps to a native component  So I pick some code from `Image.ios.js` into `ImageBackground.js` to solve it. Please help to review, thanks! Closes https://github.com/facebook/react-native/pull/14884 Reviewed By: shergin Differential Revision: D5380988 Pulled By: javache fbshipit-source-id: 35fda029030a39e720b6266f5d0a27ea3ff145ef