-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
getProps
to Parsers and fix up usages (#37504)
Summary: [Codegen 87] This PR introduces `getProps` to the Parser class and implements this function in Typescript and Flow Parsers. We also get rid of the following files from : - `packages/react-native-codegen/src/parsers/typescript/components/props.js` - `packages/react-native-codegen/src/parsers/flow/components/props.js` as requested on #34872 bypass-github-export-checks ## Changelog: [Internal] [Changed] - Add `getProps ` to Parsers and update usages. Pull Request resolved: #37504 Test Plan: Run yarn jest react-native-codegen and ensure CI is green Reviewed By: cortinico Differential Revision: D46074152 Pulled By: cipolleschi fbshipit-source-id: aa6a1a556c9b4a4a6209221f70c8add46ed2d08b
- Loading branch information
1 parent
992c45c
commit fc927d1
Showing
8 changed files
with
240 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
104 changes: 0 additions & 104 deletions
104
packages/react-native-codegen/src/parsers/flow/components/props.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.