import * as React from 'react'; export interface DDIconProps extends React.HTMLProps { /** 是否是 btn 类型 Icon */ iconBtn?: boolean; } export interface IconBaseProps extends React.HTMLProps { spin?: boolean; rotate?: number; iconBtn?: boolean; } export interface CustomIconComponentProps { width: string | number; height: string | number; fill: string; viewBox?: string; className?: string; style?: React.CSSProperties; } export interface IconComponentProps extends IconBaseProps { viewBox?: string; component?: React.ComponentType>; ariaLabel?: React.AriaAttributes['aria-label']; svg?: JSX.Element; } declare const Icon: React.ForwardRefExoticComponent & React.RefAttributes>; export default Icon;