chore: remove cn non-default exports
This commit is contained in:
parent
843cfc4d4f
commit
c9d8052e39
35 changed files with 62 additions and 76 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import React from 'react';
|
||||
import { cn } from '~/utils/cn';
|
||||
import cn from '~/utils/cn';
|
||||
|
||||
export interface TextProps {
|
||||
children: React.ReactNode;
|
||||
|
|
@ -7,9 +7,5 @@ export interface TextProps {
|
|||
}
|
||||
|
||||
export default function Text({ children, className }: TextProps) {
|
||||
return (
|
||||
<p className={cn('text-md my-0', className)}>
|
||||
{children}
|
||||
</p>
|
||||
);
|
||||
return <p className={cn('text-md my-0', className)}>{children}</p>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue