mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
28c0240361
Summary: The problem: no matter what value `background` prop has, it always triggers a warning ![screen shot 2016-01-05 at 1 20 35 pm](https://cloud.githubusercontent.com/assets/192222/12128053/c0a8754a-b3af-11e5-92c6-921e2e0c7cc4.png) Looks like this happens because we use `createStrictShapeTypeChecker` prop types inside `PropTypes.oneOfType` instead of `PropTypes.shape`. Closes https://github.com/facebook/react-native/pull/5132 Reviewed By: svcscm Differential Revision: D2804478 Pulled By: mkonicek fb-gh-sync-id: 32ce964047bddd9d92c214baaff5422dbcfd7e90