UNPKG

rp-data-chart

Version:

Rabbitpre data-chart components lib

25 lines (24 loc) 558 B
import React from 'react'; import './ring.less'; declare type IProps = { r?: number; strokeWidth?: number; stroke?: string; ringStroke?: string; process: number; total: number; textTitle?: string; }; declare type IState = { percent: string; }; export default class LineText extends React.Component<IProps, IState> { state: { percent: string; }; static defaultProps: IProps; setProcess(num: number): string; componentDidMount(): void; render(): JSX.Element; } export {};