import styles from '@/styles/Button.module.scss'; import Link from 'next/link'; type Props = { href?: string; children: React.ReactNode; className?: string; disabled?: boolean; type: 'primary' | 'outlined'; [key: string]: any; }; export default function Button({ href, children, className, disabled, type, ...props }: Props) { return ( <> {href ? ( {children} ) : ( )} ); }