why the vairent styles not includes in the text #4569
Unanswered
karthicksakthi500
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why does React Native Paper focus on defining font sizes and typography properties directly in the Text component instead of using semantic variant names like error, info, title, subtitle, etc.? Wouldn't using these semantic variants make the component more reusable and consistent across the app, eliminating the need for creating additional components like HelperText for specific cases? Could you explain the reasoning behind this design choice, and if it’s possible to combine both approaches for better reusability?
Beta Was this translation helpful? Give feedback.
All reactions