UNPKG
future-charts-example
Version:
latest (0.9.17)
0.9.17
0.9.16
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
Future Charts - Example
github.com/MrCheater/future-charts-example
MrCheater/future-charts-example
future-charts-example
/
src
/
DonutChartJQueryComponent.js
15 lines
(14 loc)
•
338 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
React
from
'react'
;
import
ReactDOM
from
'react-dom'
;
import
DonutChart
from
'./DonutChart'
; jQuery.
fn
.
extend
({
DonutChart
:
function
(
props
) {
this
.
each
(
function
(
) {
ReactDOM
.
render
((
<
DonutChart
{
...props
}/>
),
this
); } ); } });