import React, { FC } from 'react'; import { Props as BareButtonProps } from '../Button/base'; import { box } from '../../utility/box'; import { IconType } from '../IconProvider/IconType'; interface CommonType { color: string; } interface ComponentStateTypes { idle: CommonType; hover: CommonType; } interface IconButtonThemeType { primary: ComponentStateTypes; destructive: ComponentStateTypes; subdued: ComponentStateTypes; } export type PropsType = typeof box.props & BareButtonProps & { icon: IconType; iconSize?: 'small' | 'medium'; variant?: keyof IconButtonThemeType; }; declare const IconButton: FC>; export default IconButton;