mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
057ea6a5c7
Summary: This diff initializes the codegen flow parser using a proposal for some new syntaxes in flow file to handle missing information like: - Float vs Int32 - Bubbling Events vs Direct Events - Default props - Codegen options - Specifying the component name For a deep dive on the proposal see: https://fb.quip.com/kPYJAjCHxlgO Note: there are still some todos to follow up with: - Array props - Enum props - Object event arguments Note also: the parser code is a little rough, I didn't want spend too much time cleaning it up before we agreed on the format [General][Added] Add codegen flow parser Reviewed By: cpojer Differential Revision: D15417733 fbshipit-source-id: dd80887c0b2ac46fdc3da203214775facd204e28