fix: do not spread truncate property on the text component

Signed-off-by: Raghunandan Balachandran <raghunandan@spotify.com>
This commit is contained in:
Raghunandan Balachandran
2025-11-03 12:23:04 +01:00
parent fc2f7e5b1a
commit f454b5cef6
+1 -1
View File
@@ -34,7 +34,7 @@ function TextComponent<T extends ElementType = 'span'>(
...props,
});
const { className, ...restProps } = cleanedProps;
const { className, truncate, ...restProps } = cleanedProps;
return (
<Component