Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a function emitFloatProp (#37500)
Summary: part of #34872 > Create a function emitFloatProp(name: string, optional: boolean) in parser-primitives.js. Factor out the code from [Flow](https://github.com/facebook/react-native/blob/d8ced6f8953cd896471983714e722caf50783960/packages/react-native-codegen/src/parsers/flow/components/events.js#L69-L75) and [TypeScript](https://github.com/facebook/react-native/blob/d8ced6f8953cd896471983714e722caf50783960/packages/react-native-codegen/src/parsers/typescript/components/events.js#L79-L85) into that function. Use that function in the original call site. bypass-github-export-checks ## Changelog: [INTERNAL] [ADDED] - emitFloatProp in parser primitves Pull Request resolved: #37500 Test Plan: `yarn jest packages/react-native-codegen` Reviewed By: dmytrorykun Differential Revision: D46073527 Pulled By: cipolleschi fbshipit-source-id: 556b3aa0e0d330929e006758ec88d0a6889f87bc
- Loading branch information