Skip to content

Commit 5dcc8cb

Browse files
adding tips dataset to dev (#492)
1 parent c3bad12 commit 5dcc8cb

File tree

2 files changed

+1728
-0
lines changed

2 files changed

+1728
-0
lines changed

dev/App.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import Select from 'react-select';
99
import PlotlyEditor, {DefaultEditor, Panel} from '../src';
1010
import GraphTransformsPanel from '../src/default_panels/GraphTransformsPanelDev';
1111
import Inspector from 'react-inspector';
12+
import tips from './tips';
1213
import 'brace/mode/json';
1314
import 'brace/theme/textmate';
1415

@@ -31,6 +32,7 @@ const dataSources = {
3132
months: ['January', 'February', 'March', 'April', 'May', 'June'],
3233
colors: ['red', 'orange', 'yellow', 'green', 'blue', 'indigo'],
3334
'blue and red': ['blue', 'red'],
35+
...tips,
3436
};
3537
const dataSourceOptions = Object.keys(dataSources).map(name => ({
3638
value: name,

0 commit comments

Comments
 (0)