DefinitelyTyped/types/react-circular-progressbar/react-circular-progressbar-tests.tsx
Satinder 1f45ed19e8 @types/react-circular-progressbar: update component props according to project readme (#27024)
* Remove classForPercentage and textForPercentage

* update test case tsx for react-circular-progressbar
2018-07-03 11:30:34 -07:00

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,
);