Replies: 1 comment 2 replies
-
Quick comment: I might also be difficult to understand the use of typography |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Typography
is a troubled little child....We have inconsistent usage of the typography inside components in addition to what we communicate outwards our users should do.
We either encourage use of the
Typography
component<Typography />
used directlyOr predefine typography via named components
Here
Dialog.Title
is just a simple wrapper for typography.<Typography />
could be used instead.Inside named components they either wrap the
Typography
and set the variant to or replicate functionality ofTypography
component using thetypographyTemplate
Possible actions
<Typography />
or alternatively use the typo hook?typographyTemplate
?<Typygraphy />
Beta Was this translation helpful? Give feedback.
All reactions