/** * @desc 风机模型 * @author 智慧能源事业部-蔡利平 */ import React from 'react'; type GradientColorType = { x1: string; y1: string; x2: string; y2: string; colors: [{ color: string; offset: string; }, { color: string; offset: string; }]; }; export interface WindTurbineIconProps { /** 叶片颜色 */ bladeColor?: string; /** 柱子颜色(未设置时和叶片颜色保持一致) */ pillarColor?: string | GradientColorType; /** 图标大小,类似fontSize */ size?: number; /** 旋转一圈需要的时间(单位:秒) */ duration?: number; } declare const WindTurbineIcon: React.FC; export default WindTurbineIcon;