Files
react-native/Libraries
a-c-sreedhar-reddy 85e8b3e21d Fix PickerAndroid breaking when child is null. (#23884)
Summary:
On conditional rendering if child is null then the PickerAndroid breaks.

when conditional rendering is used then picker breaks when the child is null.

This conditional rendering inside Picker fails when a is 1, because child will be null in PickerAndroid.android.js.

```
{
   this.state.a === 2 && <Picker.Item label="value" value="value" />
}
```
[ANDROID] [FIXED] - Filter props.children.
Pull Request resolved: https://github.com/facebook/react-native/pull/23884

Differential Revision: D14436860

Pulled By: cpojer

fbshipit-source-id: 6a8fca604acf77c20729f26a53cd7f67e514deac
2019-03-13 00:38:52 -07:00
..
2019-02-28 09:46:05 -08:00
2018-12-11 20:01:00 -08:00
2019-03-06 14:57:30 -08:00
2019-03-06 14:57:30 -08:00
2019-03-06 14:57:30 -08:00
2019-01-17 02:41:59 -08:00
2019-03-06 14:57:30 -08:00
2018-10-31 01:37:26 -07:00
2019-03-11 11:38:22 -07:00
2019-03-06 14:57:30 -08:00
2019-03-06 14:57:30 -08:00
2019-03-06 14:57:30 -08:00