mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 08:54:13 +00:00
26 lines
449 B
TypeScript
26 lines
449 B
TypeScript
import { cn } from '@/helpers/styles';
|
|
|
|
import styles from './special-button.module.css';
|
|
|
|
interface SpecialButtonProps {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
href: string;
|
|
}
|
|
|
|
export function SpecialButton({
|
|
children,
|
|
className,
|
|
href,
|
|
}: SpecialButtonProps) {
|
|
return (
|
|
<a
|
|
className={cn(styles.button, className)}
|
|
href={href}
|
|
rel="noreferrer"
|
|
target="_blank"
|
|
>
|
|
{children}
|
|
</a>
|
|
);
|
|
}
|