import React from 'react'; import { Omit } from '../../utils/types'; import { IconPropsType } from './PropsType'; import './style.less'; export type SvgProps = Omit, 'size' | 'type'>; export interface IconProps extends IconPropsType, SvgProps { onClick?: React.MouseEventHandler; } declare class Icon extends React.Component { static defaultProps: any; componentDidMount(): void; render(): JSX.Element; } export default Icon;