mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
2b191bfab7
Summary: Doc changes only. Updating example code to reflect the new requirements discussed in this [issue](https://github.com/facebook/react-native/issues/4605). In short, in the JS code that registers your new native view, you need to explicitly include the `propTypes` that come default for views or else you get an error. Closes https://github.com/facebook/react-native/pull/7281 Differential Revision: D3240654 Pulled By: mkonicek fb-gh-sync-id: f7571ce7435c5b241a17af2822e7e350ce3186cb fbshipit-source-id: f7571ce7435c5b241a17af2822e7e350ce3186cb