18 lines
389 B
TypeScript
18 lines
389 B
TypeScript
import { PropsWithChildren } from 'react'
|
|
|
|
interface SecondaryLinkButtonProps {
|
|
href: string
|
|
className?: string
|
|
}
|
|
|
|
export default function SecondaryLinkButton({
|
|
href,
|
|
className: extraClasses = '',
|
|
children,
|
|
}: PropsWithChildren<SecondaryLinkButtonProps>) {
|
|
return (
|
|
<a href={href} className={`secondary-button text-center ${extraClasses}`}>
|
|
{children}
|
|
</a>
|
|
)
|
|
}
|