mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 22:30:23 +00:00
types: changed tag text prop type
This commit is contained in:
parent
93c250b62f
commit
0641568215
@ -1,4 +1,5 @@
|
|||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
|
import { ReactNode } from 'react'
|
||||||
|
|
||||||
const Tag = ({
|
const Tag = ({
|
||||||
blurple = false,
|
blurple = false,
|
||||||
@ -92,7 +93,7 @@ interface LabelProps {
|
|||||||
blurple?: boolean
|
blurple?: boolean
|
||||||
github?: boolean
|
github?: boolean
|
||||||
href?: string
|
href?: string
|
||||||
text: string | JSX.Element | JSX.Element[]
|
text: ReactNode
|
||||||
className?: string
|
className?: string
|
||||||
icon?: string
|
icon?: string
|
||||||
circular?: boolean
|
circular?: boolean
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user