Skip to content

Commit 34331bc

Browse files
author
Nick Ardecky
committed
docs(readme): update readme modules section to reflect v3.0.0 wrapper changes
1 parent 4538349 commit 34331bc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ export objects. Just import them.
5353
```js
5454
import 'zingchart/es6';
5555
import ZingChart from 'zingchart-react';
56-
// EXPLICITLY IMPORT MODULE
57-
import 'zingchart-react/dist/modules/zingchart-depth.min.js';
56+
// EXPLICITLY IMPORT MODULE from node_modules
57+
import "zingchart/modules-es6/zingchart-maps.min.js";
58+
import "zingchart/modules-es6/zingchart-maps-usa.min.js";
5859
```
5960

6061
### UMD
@@ -200,6 +201,7 @@ For a list of all the events that you can listen to, refer to the complete docum
200201

201202

202203
### Methods
204+
203205
All zingchart methods are readily available on the component's instance to call. For example, to add a new plot node to the chart:
204206

205207
```jsx

0 commit comments

Comments
 (0)