/* eslint-disable jsx-a11y/no-static-element-interactions */ import Link from 'next/link' const LongButton = ({ children, href, onClick, center=false }:LongButtonProps):JSX.Element => { if(href) return
{children}
if(onClick) return
{children}
return
{children}
} export default LongButton interface LongButtonProps { onClick?: (event: React.KeyboardEvent|React.MouseEvent) => void children: JSX.Element | JSX.Element[] href?: string center?: boolean }