Skip to content

Commit 50e2c03

Browse files
authored
Merge pull request #166 from plotly/adjust-simple-example
use published react-plotly.js-editor module in simple/example
2 parents 640696e + 781475d commit 50e2c03

File tree

3 files changed

+123
-20
lines changed

3 files changed

+123
-20
lines changed

examples/simple/package-lock.json

Lines changed: 120 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/simple/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
"private": true,
55
"dependencies": {
66
"plotly.js": "^1.31.2",
7-
"react": "^15.6.2",
8-
"react-dom": "^15.6.2",
7+
"react": "^16.2.0",
8+
"react-dom": "^16.2.0",
99
"react-plotly.js": "^1.0.4",
10+
"react-plotly.js-editor": "^0.1.0",
1011
"react-scripts": "1.0.17"
1112
},
1213
"scripts": {

examples/simple/src/App.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React, {Component} from 'react';
2-
import './App.css';
32
import plotly from 'plotly.js/dist/plotly-basic';
43
import createPlotComponent from 'react-plotly.js/factory';
54
import PlotlyEditor, {Hub, dereference} from 'react-plotly.js-editor';

0 commit comments

Comments
 (0)