1 parent 45d525c commit 25107b8Copy full SHA for 25107b8
2 files changed
README.md
@@ -70,8 +70,7 @@ Or alternatively if you are using JSX:
70
"theme": "light",
71
"graphs": [...],
72
"dataProvider": [...]
73
- }}
74
-/>
+ }} />
75
```
76
77
You can also define the options object separately:
documentation/Migrating to 3.0.md
@@ -47,9 +47,10 @@ Migrating to amCharts React plugin 3.0
47
type="serial"
48
theme="light"
49
graphs={[...]}
50
- dataProvider={[...]}
51
- />
+ dataProvider={[...]} />
+ ```
52
53
+ ```js
54
<AmCharts.React {...config} />
55
56
@@ -67,8 +68,9 @@ Migrating to amCharts React plugin 3.0
67
68
69
<AmCharts.React options={config} />
0 commit comments