@nutui/nutui-react
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
13 lines (12 loc) • 550 B
TypeScript
import React, { FunctionComponent } from 'react';
import { BasicComponent } from "../../utils/typings";
export interface CircleProgressProps extends BasicComponent {
percent: string | number;
strokeWidth?: string | number;
radius?: number | string;
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit';
color?: Record<string, string> | string;
background?: string;
clockwise?: boolean;
}
export declare const CircleProgress: FunctionComponent<CircleProgressProps & Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>>;