mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Remove classForPercentage and textForPercentage * update test case tsx for react-circular-progressbar
25 lines
518 B
TypeScript
25 lines
518 B
TypeScript
import CircularProgressbar from 'react-circular-progressbar';
|
|
|
|
import * as React from 'react';
|
|
import { render } from 'react-dom';
|
|
|
|
declare const container: Element;
|
|
|
|
render(
|
|
<div>
|
|
<CircularProgressbar
|
|
className="testing"
|
|
percentage={55}
|
|
text={'55%'}
|
|
strokeWidth={16}
|
|
/>
|
|
<CircularProgressbar
|
|
className="testing"
|
|
percentage={55}
|
|
text=""
|
|
strokeWidth={16}
|
|
/>
|
|
</div>,
|
|
container,
|
|
);
|