import clsx, { ClassValue } from 'clsx' import React, { forwardRef } from 'react' import { Box } from '../Box/Box' import { IconProps } from '../icons' import * as styles from './styles.css' export type Props = React.ButtonHTMLAttributes & styles.Variants & { icon: React.ReactElement cssClass?: ClassValue | ClassValue[] } export const ButtonIcon = forwardRef( ( { icon, kind, shape, emphasis, size, onClick, disabled, cssClass, className, type = 'button', }, ref, ) => { return ( {icon} ) }, )