@nutui/nutui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
16 lines (15 loc) • 615 B
TypeScript
import { default as React, FunctionComponent } from 'react';
import { BasicComponent } from '../../utils/typings';
export interface Color {
[key: string]: string;
}
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'>>;