react-native-macos/Libraries/Components
Michał Osadnik f7695e0183 Harden the Flow parser to handle more AST formats for commands and props
Summary:
This diff allows for parsing more flexible AST format.

Reusing logic used for methods, I add similar support for props and commands in components. Now it's possible to define separated type for props and commands in another part of the file.

Also, extracted this method to another file for reusing purposes.

Added tests.

Reviewed By: rickhanlonii

Differential Revision: D16221445

fbshipit-source-id: 21553bf5ade66588dd7dc0320d25333260b0ada9
2019-07-16 07:32:35 -07:00
..
AccessibilityInfo Reland "[react-native][PR] [TM] Add spec for UIManager" 2019-05-31 12:58:56 -07:00
ActivityIndicator Force WithDefault not to be an optional value 2019-07-02 03:30:55 -07:00
AppleTV Replace more Haste imports with path-based imports (#25001) 2019-05-23 00:51:31 -07:00
CheckBox Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
Clipboard Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
DatePicker Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
DatePickerAndroid Replace more Haste imports with path-based imports (#25001) 2019-05-23 00:51:31 -07:00
DrawerAndroid Harden the Flow parser to handle more AST formats for commands and props 2019-07-16 07:32:35 -07:00
Keyboard Replace more Haste imports with path-based imports (#25001) 2019-05-23 00:51:31 -07:00
MaskedView make RCTMaskedView use generated view config 2019-06-14 07:01:11 -07:00
Picker Force WithDefault not to be an optional value 2019-07-02 03:30:55 -07:00
ProgressBarAndroid Force WithDefault not to be an optional value 2019-07-02 03:30:55 -07:00
ProgressViewIOS Force WithDefault not to be an optional value 2019-07-02 03:30:55 -07:00
RefreshControl Change returning value of DirectEventHandler and BubblingEventHandler to void 2019-07-10 05:40:20 -07:00
SafeAreaView Add RTCSafeAreaView 2019-06-14 03:16:54 -07:00
ScrollView Make VList in ScrollView warning consider horizontal prop 2019-07-15 13:31:47 -07:00
SegmentedControlIOS Change returning value of DirectEventHandler and BubblingEventHandler to void 2019-07-10 05:40:20 -07:00
Slider Force property to be optional if value has WithDefault 2019-07-09 14:44:43 -07:00
StatusBar Codemod $Enum<...> to $Keys<...> in xplat/fbcode 2019-05-16 14:20:29 -07:00
Switch Force WithDefault not to be an optional value 2019-07-02 03:30:55 -07:00
TextInput add `passwordRules` for `textContentType` `newPassword` (#25407) 2019-06-27 03:25:42 -07:00
TimePickerAndroid Replace more Haste imports with path-based imports (#25001) 2019-05-23 00:51:31 -07:00
ToastAndroid Add a lint rule to disallow Haste imports (#25058) 2019-05-30 07:45:16 -07:00
Touchable Added button with accessibility action example and support for Touchables (#25582) 2019-07-11 01:38:18 -07:00
UnimplementedViews Force WithDefault not to be an optional value 2019-07-02 03:30:55 -07:00
View Keyboard accessibility follow up (#25274) 2019-06-21 03:13:38 -07:00
Button.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
ScrollResponder.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
StaticContainer.react.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00
StaticRenderer.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00