mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
b05d90e8bb
Summary: Flow type unions don't play well with Fabric components. This diff removes a union in `Picker.js` and fixes all the flow errors. Before this diff, all these surfaces would crash with the new Fabric Picker impl, because the impl asserts that this field is a string. Reviewed By: sammy-SC Differential Revision: D24236317 fbshipit-source-id: 6e646c84fcd16658aaabe5e93507f5f33b346a65