1 | import React from 'react';
|
2 | import { IconPropsType } from './PropsType';
|
3 | import { Omit } from '../_util/types';
|
4 | export declare type SvgProps = Omit<React.HTMLProps<SVGSVGElement>, 'size' | 'type'>;
|
5 | export interface IconProps extends IconPropsType, SvgProps {
|
6 | size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg';
|
7 | onClick?: React.MouseEventHandler<SVGSVGElement>;
|
8 | }
|
9 | export default class Icon extends React.Component<IconProps, any> {
|
10 | static defaultProps: {
|
11 | size: string;
|
12 | };
|
13 | componentDidMount(): void;
|
14 | render(): JSX.Element;
|
15 | }
|