-
Notifications
You must be signed in to change notification settings - Fork 12
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
Allow option to preserve whitespace for Typography content #577
Allow option to preserve whitespace for Typography content #577
Conversation
🦋 Changeset detectedLatest commit: 16d4add The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
* | ||
* @defaultValue "inherit" | ||
*/ | ||
whiteSpace?: |
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.
hmm. generally, we've limited alot of these props to only the ones we need. ive inherited christian's rather be more strict and then if we need the others ones we'll add it later
how often do you think we'll need all of these?
i imagine just inherit, normal, nowrap and pre will be fine
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.
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.
just the ones you mentioned are fine. thanks!
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.
just the ones you mentioned are fine. thanks!
Done!
1e84c7d
to
16d4add
Compare
Changes
Add support to
Typography
component for setting white-space CSS property.Screenshots
For example: