mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-29 22:41:56 +08:00
Summary: When trying sample code from the _Working with Scenes_ area of this page I see a warning and the example did not appear to work as expected. To fix this I updated the code to static so others following along will not see a warning about using a static property to define defaultProps. Also included is a screen capture of the warning message.  Closes https://github.com/facebook/react-native/pull/9108 Differential Revision: D3647366 fbshipit-source-id: 93b152756e6351614caf4ae1d5f45bac893fdf7b