Skip to content

Commit b606db7

Browse files
mkueactions-user
authored andcommitted
Prettified Code!
1 parent 36faf10 commit b606db7

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

ui/src/components/typography/typography.tsx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,9 @@ export type TypographyProps<C extends ElementType> = {
6868
lineHeight?: LineHeight;
6969
} & ComponentPropsWithoutRef<C>;
7070

71-
export function Typography<C extends ElementType = 'p'>({
72-
as,
73-
size,
74-
weight,
75-
color,
76-
lineHeight,
77-
className,
78-
children,
79-
...props
80-
}: TypographyProps<C>) {
71+
export function Typography<C extends ElementType = 'p'>(
72+
{ as, size, weight, color, lineHeight, className, children, ...props }: TypographyProps<C>,
73+
) {
8174
const Component = as || 'p';
8275
return (
8376
<Component

0 commit comments

Comments
 (0)