typography: fix 'undefined' class
This commit is contained in:
parent
1526e4b2fe
commit
f3ae69cd26
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export function Typography<T extends AnyElement>(
|
||||||
<Dynamic
|
<Dynamic
|
||||||
ref={managed.ref}
|
ref={managed.ref}
|
||||||
component={managed.component ?? "span"}
|
component={managed.component ?? "span"}
|
||||||
class={`${managed.class} ${managed.typography}`}
|
class={`${managed.class || ""} ${managed.typography}`}
|
||||||
{...passthough}
|
{...passthough}
|
||||||
></Dynamic>
|
></Dynamic>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue