types: changed tag text prop type

This commit is contained in:
wonderlandpark 2021-03-28 13:00:17 +09:00
parent 93c250b62f
commit 0641568215

View File

@ -1,4 +1,5 @@
import Link from 'next/link'
import { ReactNode } from 'react'
const Tag = ({
blurple = false,
@ -92,7 +93,7 @@ interface LabelProps {
blurple?: boolean
github?: boolean
href?: string
text: string | JSX.Element | JSX.Element[]
text: ReactNode
className?: string
icon?: string
circular?: boolean