Summary: Closes https://github.com/facebook/react-native/pull/12766 Differential Revision: D4666410 Pulled By: hramos fbshipit-source-id: 6eef74352414f2c138670f58ac1cb2c39787f3a3