mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 22:30:23 +00:00
feat: accepting string for long button
This commit is contained in:
parent
e7fd018028
commit
4fb12b4de5
@ -32,7 +32,7 @@ export default LongButton
|
|||||||
interface LongButtonProps {
|
interface LongButtonProps {
|
||||||
newTab?: boolean
|
newTab?: boolean
|
||||||
onClick?: (event: React.KeyboardEvent<HTMLDivElement>|React.MouseEvent<HTMLDivElement>) => void
|
onClick?: (event: React.KeyboardEvent<HTMLDivElement>|React.MouseEvent<HTMLDivElement>) => void
|
||||||
children: JSX.Element | JSX.Element[]
|
children: string | JSX.Element | JSX.Element[]
|
||||||
href?: string
|
href?: string
|
||||||
center?: boolean
|
center?: boolean
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user