You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
549 B
16 lines
549 B
import * as React from 'react';
|
|
import { IconPropsType } from './PropsType';
|
|
import { Omit } from '../_util/types';
|
|
export declare type SvgProps = Omit<React.HTMLProps<SVGSVGElement>, 'size' | 'type'>;
|
|
export interface IconProps extends IconPropsType, SvgProps {
|
|
size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg';
|
|
onClick?: React.MouseEventHandler<SVGSVGElement>;
|
|
}
|
|
export default class Icon extends React.Component<IconProps, any> {
|
|
static defaultProps: {
|
|
size: string;
|
|
};
|
|
componentDidMount(): void;
|
|
render(): JSX.Element;
|
|
}
|