import { ComponentPropsWithoutRef, ElementType, ReactNode } from 'react' import s from './button.module.scss' export type ButtonProps = { as?: T children: ReactNode className?: string fullWidth?: boolean variant?: 'icon' | 'link' | 'primary' | 'secondary' | 'tertiary' } & ComponentPropsWithoutRef export const Button = (props: ButtonProps) => { const { as: Component = 'button', className, fullWidth, variant = 'primary', ...rest } = props return ( ) }