import React from 'react'; import { Color } from '../../interfaces'; import { IconName } from '../Icon/Icon'; export interface IconButtonProps { /** Name of the icon inside the button */ icon: IconName; /** The button click event callback */ onClick?: (event: React.MouseEvent) => void; /** Color of the icon in the button */ color: Color; /** The background color of the icon */ background?: Color; /** Size of the button */ size: 'small' | 'medium' | 'large' | 'extra-large'; /** Is button disabled */ disabled?: boolean; /** aria-label */ ariaLabel?: string; href?: string; } declare const IconButton: { ({ icon, onClick, color, background, size, ariaLabel, ...other }: IconButtonProps): JSX.Element; defaultProps: { as: string; color: string; background: string; size: string; }; }; export default IconButton;