mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: This PR extracts the `findComponentConfig(...)` Flow and TS from the `index.js`'s files to the `parser-commons.js` file. bypass-github-export-checks ## Changelog: [INTERNAL][CHANGED] - Refactor: Extract `findComponentConfig(...)` from Flow & TS to `parsers-commons.js` Pull Request resolved: https://github.com/facebook/react-native/pull/37547 Test Plan: - `yarn flow && yarn test packages/react-native-codegen` → should be green. Reviewed By: cortinico Differential Revision: D46143481 Pulled By: cipolleschi fbshipit-source-id: f9a456b1d58312422b17463ed2b60ee5fda16462