-
-
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 ModalNavbarTitle to TypeScript #11243
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11243 +/- ##
==========================================
+ Coverage 55.24% 55.66% +0.41%
==========================================
Files 1558 1573 +15
Lines 37153 37476 +323
Branches 4406 4472 +66
==========================================
+ Hits 20527 20860 +333
+ Misses 16155 16125 -30
- Partials 471 491 +20 ☔ View full report in Codecov by Sentry. |
91588e4
to
72ff1ae
Compare
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
Convert ModalNavbarTitle Component to TypeScript
Description
This PR converts the
ModalNavbarTitle
component from JavaScript to TypeScript. The conversion improves type safety and maintainability of the component.Changes Made
index.js
toindex.tsx
ModalNavbarTitleProps
interfacePropTypes
import and usageFiles Changed
app/components/UI/ModalNavbarTitle/index.tsx
Testing
No functional changes were made. The component should behave exactly as before.
Notes
PureComponent
did not require type parametersstyles
object was left as is, as StyleSheet.create() infers typesLabels
Link to Devin run: https://preview.devin.ai/devin/7a9f387f766c470c8ac4f7d06b9a3333
Requested by: Silas
If you have any feedback, you can leave comments in the PR and I'll address them in the app!