File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ export const StyledBadge = styled.span<StyledBadgeProps>(
2323 textTransform : styles ?. textTransform || "uppercase" ,
2424 paddingInline : styles ?. paddingInline || "5px" ,
2525 paddingBlock : styles ?. paddingBlock || "2px" ,
26+ whiteSpace : styles ?. whiteSpace || "nowrap" ,
27+ overflow : styles ?. overflow || "hidden" ,
28+ textOverflow : styles ?. textOverflow || "ellipsis" ,
2629 display : "block" ,
2730 } ) ,
2831) ;
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ export type BadgeConfig = {
2121 paddingBlock ?: Property . PaddingBlock ,
2222 paddingInline ?: Property . PaddingInline ,
2323 textTransform ?: Property . TextTransform ,
24+ whiteSpace ?: Property . WhiteSpace ,
25+ overflow ?: Property . Overflow ,
26+ textOverflow ?: Property . TextOverflow ,
2427 } ;
2528 location ?: Array < 'toolbar' | 'toolbar-extra' | 'sidebar' > ;
2629 title ?: string ;
You can’t perform that action at this time.
0 commit comments