From bb52762cec7dba9e60f6b15d188394b053c40a5b Mon Sep 17 00:00:00 2001 From: lulutia Date: Fri, 3 Jun 2016 17:05:39 +0800 Subject: [PATCH] The item of the PickerIOS, otherwise you may face so many warnings --- src/react-native.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/react-native.js b/src/react-native.js index 2493ed6..fa98afb 100644 --- a/src/react-native.js +++ b/src/react-native.js @@ -97,6 +97,7 @@ const ReactNative = { EdgeInsetsPropType: require('./propTypes/EdgeInsetsPropType'), PointPropType: require('./propTypes/PointPropType'), }; + ReactNative.PickerIOS.Item = createMockComponent('PickerIOS.Item'); // See http://facebook.github.io/react/docs/addons.html const ReactNativeAddons = {