周中原 f5056f844d Update AppRegistry.registerComponent's parameter.
Summary:
Update AppRegistry.registerComponent's second parameter name from "component" to "getComponentFunc".
Because the second parameter is NOT a component , it is like ` () => ReactClass<any>;`.

Using 'component' will mislead people who use this function.

- react-native 4.2 docs: [static registerComponent(appKey, getComponentFunc) ](http://facebook.github.io/react-native/releases/0.42/docs/appregistry.html#registercomponent)
- react-native 4.4 docs: [static registerComponent(appKey, component, section?) ](http://facebook.github.io/react-native/docs/appregistry.html#registercomponent)

No need to test. Update the parameter name will not mislead the people who use registerComponent.
Closes https://github.com/facebook/react-native/pull/13747

Differential Revision: D4994037

Pulled By: javache

fbshipit-source-id: 1609d6ff7d63bdc15d7e8e5a94cbf4e029ab427c
2017-05-03 18:01:32 -07:00
..
2017-04-28 06:34:21 -07:00
2017-04-18 14:00:18 -07:00
2017-02-21 09:11:01 -08:00
2017-04-28 04:04:14 -07:00
2017-03-28 08:38:13 -07:00
2017-05-03 17:16:48 -07:00
2016-11-02 12:29:15 -07:00
2017-04-05 18:31:06 -07:00
2017-04-28 04:04:14 -07:00
2017-05-03 17:16:48 -07:00
2017-01-31 11:13:50 -08:00
2017-04-26 11:31:56 -07:00
2017-02-21 15:18:40 -08:00
2017-04-26 11:31:56 -07:00
2017-03-21 08:01:58 -07:00
2017-04-17 07:30:18 -07:00