mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: It's supposed to take a component or a handle, per the arg name, so switch on the type (and handle `null`). `FlatListExample` no longer crashes. Reviewed By: bvaughn, sebmarkbage Differential Revision: D4752619 fbshipit-source-id: 720421f648f7c2049b5cc44f006484eb47d22d86