import { forwardRef } from 'react' import ButtonV2 from './ButtonV2' import { ButtonV2Size, ButtonV2SubType, ButtonV2Type } from './buttonV2.types' export type IconButtonProps = Omit< React.ComponentProps, 'text' | 'leftSlot' | 'rightSlot' | 'subType' > & { icon: React.ReactNode 'aria-label': string } const IconButton = forwardRef( ( { icon, buttonType = ButtonV2Type.PRIMARY, size = ButtonV2Size.SMALL, ...restProps }, ref ) => { return ( ) } ) IconButton.displayName = 'IconButton' export default IconButton