-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(js-ts): Convert app/components/UI/GenericButton/index.ios.js to TypeScript #11523
chore(js-ts): Convert app/components/UI/GenericButton/index.ios.js to TypeScript #11523
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Bitrise❌❌❌ Commit hash: d5f4383 Note
Tip
|
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR converts the
app/components/UI/GenericButton/index.ios.js
file to TypeScript. The conversion involves updating the file extension to.tsx
, defining TypeScript interfaces for props, and removingpropTypes
.Motivation
The conversion to TypeScript is part of an ongoing effort to improve type safety and maintainability across the codebase.
Context
The
GenericButton
component is deprecated in favor of the newButton
component from the component-library. This conversion ensures that the deprecated component is type-safe until it is fully replaced.Related Issues
Manual Testing Steps
GenericButton
component renders correctly in the app.children
,style
,onPress
) function as expected.Screenshots/Recordings
N/A
Additional Information
If you have any feedback, you can leave comments in the PR and I'll address them in the app!