import React from 'react'; import type { Emphasis, Appearance, ShirtSize } from './types/common.js'; import type { PlacesType } from 'react-tooltip'; interface IconButtonProps extends React.HTMLAttributes { /** * If used in a form or as a regular button */ type?: 'button' | 'submit'; /** * The display variant of the button */ emphasis?: Emphasis; /** * The display appearance of the button */ appearance?: Appearance; /** * Size variant of the button */ size?: ShirtSize; /** * If set, the button will be rendered as the element provided */ as?: React.ElementType; /** * If set, the button will be rendered as an anchor tag with the provided href */ href?: string; /** * If set, the target prop will be passed on to the anchor tag */ target?: string; disabled?: boolean; tooltip?: string; tooltipSide?: PlacesType; tooltipId?: string; /** * If set, uses the specified tooltip id. By default we'll use `default-tooltip-id` */ loading?: boolean; selected?: boolean; icon: React.ReactNode; } export declare const IconButton: React.ForwardRefExoticComponent>; export {}; //# sourceMappingURL=IconButton.d.ts.map