Skip to content
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

feat(Text): add wordBreak property #2642

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cnairi
Copy link
Contributor

@cnairi cnairi commented Jan 7, 2025

DESCRIPTION

We want to implement the wordBreak property on the Text component to avoid breaking the display of this component in our apps.

LINEAR TICKET

https://linear.app/wttj/issue/WUI-70/components-do-not-support-word-break-or-word-wrap-properties

HOW TO TEST

  • You need to run yarn start on your project locally
  • Then go to http://localhost:3020/components/text
  • See you now have a wordBreak example in the doc, with long words that need to be broken

SCREENSHOTS / SCREEN RECORDINGS

Capture d’écran 2025-01-07 à 12 05 57

Copy link

linear bot commented Jan 7, 2025

Copy link

github-actions bot commented Jan 7, 2025

👀 Visit Preview

@github-actions github-actions bot added the wip label Jan 7, 2025
@cnairi cnairi marked this pull request as ready for review January 7, 2025 11:06
@cnairi cnairi requested review from a team as code owners January 7, 2025 11:06
@github-actions github-actions bot added to-review and removed wip labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant