Merge pull request #31568 from backstage/fix-bui-text-component
fix: do not spread truncate property on the text component
This commit is contained in:
@@ -34,7 +34,7 @@ function TextComponent<T extends ElementType = 'span'>(
|
||||
...props,
|
||||
});
|
||||
|
||||
const { className, ...restProps } = cleanedProps;
|
||||
const { className, truncate, ...restProps } = cleanedProps;
|
||||
|
||||
return (
|
||||
<Component
|
||||
|
||||
Reference in New Issue
Block a user