import React from 'react'; import './index.scss'; export interface IconProps { className?: string; style?: React.CSSProperties; color?: 'info' | 'success' | 'warn' | 'error' | 'primary' | 'secondary' | 'thirdary' | string; /** * 大小,支持预定义字符串和数字 * eg: 'small', 'medium', 'large', 16, '16px', '16em', '16rem' */ size?: 'small' | 'medium' | 'large' | number | string; dataName?: string; [name: string]: any; } export interface SvgIconProps extends IconProps { path?: any; } export declare const SvgIcon: (props: SvgIconProps) => JSX.Element; export default SvgIcon;