import * as React from 'react'; import { IDropdownToggler, Icon } from '@epam/uui-core'; import { ClickableComponentProps } from '../widgets'; export type IconButtonProps = ClickableComponentProps & Omit & { /** Icon can be a React element (usually an SVG element) */ icon?: Icon; /** Icon for drop-down toggler */ dropdownIcon?: Icon; /** * Defines component size. */ size?: number | string; /** * Pass true to enable dropdown icon. */ showDropdownIcon?: boolean; /** Rotate the icon (cw stands for 'clock-wise', ccw stands for 'counter clock-wise')) */ rotate?: '0' | '90cw' | '180' | '90ccw'; /** Flips the icon vertically */ flipY?: boolean; /** Called when keyDown event is fired on component */ onKeyDown?: (e: React.KeyboardEvent) => void; }; export declare const IconButton: React.ForwardRefExoticComponent & { onKeyDown?: (e: React.KeyboardEvent) => void; } & Omit & { /** Icon can be a React element (usually an SVG element) */ icon?: Icon; /** Icon for drop-down toggler */ dropdownIcon?: Icon; /** * Defines component size. */ size?: number | string; /** * Pass true to enable dropdown icon. */ showDropdownIcon?: boolean; /** Rotate the icon (cw stands for 'clock-wise', ccw stands for 'counter clock-wise')) */ rotate?: '0' | '90cw' | '180' | '90ccw'; /** Flips the icon vertically */ flipY?: boolean; /** Called when keyDown event is fired on component */ onKeyDown?: (e: React.KeyboardEvent) => void; } & React.RefAttributes>; //# sourceMappingURL=IconButton.d.ts.map