import classNames from 'classnames'; import { type AnchorHTMLAttributes, type FunctionComponent, type ReactNode, type SVGAttributes } from 'react'; import { Tooltip } from '../Tooltip'; import styles from './Button.module.scss'; interface Props extends AnchorHTMLAttributes { 'aria-label': string; href: string; Icon: FunctionComponent>; iconClassName?: string; tooltip?: ReactNode; variant?: 'default' | 'primary'; wide?: boolean; } export const Link: FunctionComponent = ({ children, className, Icon, iconClassName, tooltip, variant = 'default', wide, ...props }) => { return ( {Icon && } {children && {children}} ); };