import type { ReactNode } from 'react' import React, { forwardRef } from 'react' import Button from '../../atoms/Button' import type { ButtonProps } from '../../atoms/Button' import Icon from '../../atoms/Icon' export interface Props extends Omit { /** * ID to find this component in testing tools (e.g.: cypress, testing library, and jest). */ testId?: string /** * A React component that will be rendered as an icon. */ icon: ReactNode } const IconButton = forwardRef(function IconButton( { icon, testId = 'store-icon-button', ...buttonProps }, ref ) { return ( ) }) export default IconButton