feat: accepting string for long button

This commit is contained in:
원더 2021-01-30 13:59:17 +09:00
parent e7fd018028
commit 4fb12b4de5

View File

@ -32,7 +32,7 @@ export default LongButton
interface LongButtonProps {
newTab?: boolean
onClick?: (event: React.KeyboardEvent<HTMLDivElement>|React.MouseEvent<HTMLDivElement>) => void
children: JSX.Element | JSX.Element[]
children: string | JSX.Element | JSX.Element[]
href?: string
center?: boolean
}