pancy fants
This commit is contained in:
parent
a4fd3a3556
commit
b6633d6f25
15 changed files with 339 additions and 116 deletions
18
src/components/PrimaryLinkButton.tsx
Normal file
18
src/components/PrimaryLinkButton.tsx
Normal file
|
@ -0,0 +1,18 @@
|
|||
import { PropsWithChildren } from 'react'
|
||||
|
||||
interface PrimaryLinkButtonProps {
|
||||
href: string
|
||||
className?: string
|
||||
}
|
||||
|
||||
export default function PrimaryLinkButton({
|
||||
href,
|
||||
className: extraClasses = '',
|
||||
children,
|
||||
}: PropsWithChildren<PrimaryLinkButtonProps>) {
|
||||
return (
|
||||
<a href={href} className={`primary-button text-center ${extraClasses}`}>
|
||||
{children}
|
||||
</a>
|
||||
)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue