fix: do not spread truncate property on the text component
Signed-off-by: Raghunandan Balachandran <raghunandan@spotify.com>
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