Skip to content

Commit

Permalink
fix: return Text styles
Browse files Browse the repository at this point in the history
  • Loading branch information
asabotovich committed May 28, 2024
1 parent 372a6d8 commit 476a1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/harmony/Text/Text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const Text = React.forwardRef(function <T extends keyof AllowedHTMLElemen
<Tag
{...rest}
ref={ref}
className={cn(textStyles, className, {
className={cn(s.Text, textStyles, className, {
[s.TextEllipsis]: ellipsis,
[s.TextWrapped]: !!wordWrap,
[s.TextBreaked]: !!wordBreak,
Expand Down

0 comments on commit 476a1c5

Please sign in to comment.