import React from 'react'; import { QAProps } from '../types'; import { SVGIconData } from './types'; import './Icon.css'; export interface IconProps extends QAProps { data: SVGIconData; width?: number | string; height?: number | string; size?: number | string; fill?: string; stroke?: string; className?: string; /** @deprecated Wrap `` to element with correct role (like button) and add handler here */ onClick?: (event: React.MouseEvent) => void; } export declare function Icon({ data, width, height, size, className, onClick, fill, stroke, qa, }: IconProps): JSX.Element; export declare namespace Icon { var displayName: string; var prefix: string; }