mirror of
https://github.com/fosrl/pangolin.git
synced 2025-06-27 15:48:52 +02:00
19 lines
410 B
TypeScript
19 lines
410 B
TypeScript
|
export default function ButtonLink({
|
||
|
href,
|
||
|
children,
|
||
|
className = ""
|
||
|
}: {
|
||
|
href: string;
|
||
|
children: React.ReactNode;
|
||
|
className?: string;
|
||
|
}) {
|
||
|
return (
|
||
|
<a
|
||
|
href={href}
|
||
|
className={`rounded-full bg-primary px-4 py-2 text-center font-semibold text-white text-xl no-underline inline-block ${className}`}
|
||
|
>
|
||
|
{children}
|
||
|
</a>
|
||
|
);
|
||
|
}
|