Badge
: Add property to toggle truncation
#68091
Labels
Design System
Issues related to the system of combining components according to best practices.
[Package] Components
/packages/components
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
This came up while trying to tackle #68020.
The anchor 'badge' in List View is truncated to prevent it from taking over the entire row:
In order to replace this ad hoc element with the
Badge
component, it would need to be updated to support truncation.The
Text
component already supports truncation, so perhaps this is just a case of utilisingText
insideBadge
, and providing a way to pass thetruncate
property down toText
.cc @WordPress/gutenberg-components
The text was updated successfully, but these errors were encountered: