import type { ReactNode } from 'react'; import React from 'react'; import type { ButtonProps } from '../../atoms/Button'; 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; } declare const IconButton: React.ForwardRefExoticComponent>; export default IconButton;