export default SvgIcon; /** * @private * 内部使用的一些图标,后续可能会变更,不建议直接使用 */ declare class SvgIcon extends React.PureComponent { static propTypes: { /** 图标类型 */ type: PropTypes.Validator; /** 图标颜色,值为 css color 支持属性值 */ color: PropTypes.Requireable; /** 是否旋转 */ spin: PropTypes.Requireable; /** 图标的尺寸大小 */ size: PropTypes.Requireable; }; static defaultProps: { size: string; }; constructor(props: any); constructor(props: any, context: any); render(): JSX.Element; } declare namespace SvgIcon { export { IconType as Type }; } import React from "react"; import PropTypes from "prop-types"; declare const IconType: string[];