import React from 'react'; import { IconProps } from '@uiw/react-icon'; import { IProps, HTMLDivProps } from '@uiw/utils'; import './style/index.less'; import './style/circle.less'; export type Status = 'success' | 'active' | 'exception'; export type ProgressCircleTagType = React.ComponentType | keyof JSX.IntrinsicElements; export interface ProgressCircleProps extends IProps, HTMLDivProps { type?: IconProps['type']; status?: Status; showText?: boolean; percent?: number; width?: number; strokeWidth?: number; format?: (percent: number) => React.ReactNode; } export default class Circle extends React.Component> { static defaultProps: ProgressCircleProps<'span'>; relativeStrokeWidth(type: 'track' | 'bg' | undefined, elm: SVGPathElement): void; render(): React.JSX.Element; } export { Circle };