diff --git a/packages/ui/src/primitives/tailwind/Text/index.tsx b/packages/ui/src/primitives/tailwind/Text/index.tsx index b8fed7fc04..13deefc682 100644 --- a/packages/ui/src/primitives/tailwind/Text/index.tsx +++ b/packages/ui/src/primitives/tailwind/Text/index.tsx @@ -53,7 +53,8 @@ const Text = ({ className, children, component = 'span', - theme = 'primary' + theme = 'primary', + ...props }: TextProps): JSX.Element => { const Component = componentTypes[component] @@ -63,7 +64,11 @@ const Text = ({ className ) - return {children} + return ( + + {children} + + ) } export default Text