Skip to content

Commit 60e990e

Browse files
committed
Extra docs
1 parent 5f8414e commit 60e990e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $ npm install plotlyjs-react
1212

1313
## Usage
1414

15-
The component definition is created by dependency injection so that you can use whichever version of plotly.js you'd like, including the CDN versions.
15+
The component definition is created by dependency injection so that you can use whichever version of plotly.js you'd like, including the [CDN versions](https://plot.ly/javascript/getting-started/#plotlyjs-cdn).
1616

1717
```javascript
1818
const createPlotlyComponent = require('plotlyjs-react');
@@ -28,6 +28,8 @@ render () {
2828
}
2929
```
3030

31+
The only requirement is that plotly.js is loaded before you inject it. You may need to use a module like [load-script](https://www.npmjs.com/package/load-script) to ensure it's available.
32+
3133
## API
3234

3335
### Props

0 commit comments

Comments
 (0)