Skip to content

Commit 269e889

Browse files
committed
fix ts error
1 parent bf97a2a commit 269e889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Text/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import clsx from 'clsx'
44

55
interface IText {
66
as?: 'p' | 'h1' | 'h2' | 'h3'
7-
children: string | React.ReactElement | Element
7+
children: string | React.ReactElement
88
className?: string
99
}
1010

0 commit comments

Comments
 (0)