import * as React from 'react'; import { IconPropsType } from './PropsType'; import { Omit } from '../_util/types'; export declare type SvgProps = Omit, 'size' | 'type'>; export interface IconProps extends IconPropsType, SvgProps { size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg'; onClick?: React.MouseEventHandler; } export default class Icon extends React.Component { static defaultProps: { size: string; }; componentDidMount(): void; render(): JSX.Element; }