Matt Sessions a8391bde7d SectionList renderItem should be optional
Summary:
`renderItem` on `SectionList` is within the `OptionalProps` group of props but it is not actually marked as optional. Which means that doing things such as in the example where each section has its own `renderItem` and no `renderItem` prop is passed into `SectionList` will fail flow.

Create a `SectionList` where each section has it's own `renderItem` and do not pass in a `renderItem` into `SectionList`. Run flow, it should error.

[GENERAL] [MINOR] [SectionList] -Makes `renderItem` prop on `SectionList` optional for flow.
Closes https://github.com/facebook/react-native/pull/17262

Differential Revision: D6645672

Pulled By: hramos

fbshipit-source-id: 1096e8c4998c14003cf42f29ea559505082047c1
2017-12-29 14:26:08 -08:00
..
2017-12-13 16:19:21 -08:00
2017-12-19 19:46:06 -08:00
2017-12-06 17:34:26 -08:00
2017-12-21 12:02:32 -08:00
2016-11-02 12:29:15 -07:00
2017-09-08 14:46:14 -07:00
2017-09-21 15:01:52 -07:00
2017-12-06 17:34:26 -08:00
2017-11-10 21:15:48 -08:00
2017-12-19 20:14:00 -08:00
2017-12-18 18:31:19 -08:00
2017-09-06 03:33:43 -07:00
2017-10-09 17:46:44 -07:00
2017-10-09 17:22:35 -07:00
2017-09-06 03:33:43 -07:00