Skip to content

Commit 25107b8

Browse files
committed
Tweaking README
1 parent 45d525c commit 25107b8

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ Or alternatively if you are using JSX:
7070
"theme": "light",
7171
"graphs": [...],
7272
"dataProvider": [...]
73-
}}
74-
/>
73+
}} />
7574
```
7675

7776
You can also define the options object separately:

documentation/Migrating to 3.0.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ Migrating to amCharts React plugin 3.0
4747
type="serial"
4848
theme="light"
4949
graphs={[...]}
50-
dataProvider={[...]}
51-
/>
50+
dataProvider={[...]} />
51+
```
5252

53+
```js
5354
<AmCharts.React {...config} />
5455
```
5556

@@ -67,8 +68,9 @@ Migrating to amCharts React plugin 3.0
6768
"theme": "light",
6869
"graphs": [...],
6970
"dataProvider": [...]
70-
}}
71-
/>
71+
}} />
72+
```
7273

74+
```js
7375
<AmCharts.React options={config} />
7476
```

0 commit comments

Comments
 (0)