diff --git a/spikes/graphs-fe/plotly/src/components/index.js b/spikes/graphs-fe/plotly/src/components/index.js index 5f67d9af..60167bd2 100644 --- a/spikes/graphs-fe/plotly/src/components/index.js +++ b/spikes/graphs-fe/plotly/src/components/index.js @@ -2,5 +2,5 @@ module.exports = { Button: require('./button'), Container: require('./container'), Base: require('./base'), - Graph: require('./graph'), + PlotlyGraph: require('./plotlyGraph'), }; diff --git a/spikes/graphs-fe/plotly/src/components/graph/index.js b/spikes/graphs-fe/plotly/src/components/plotlyGraph/index.js similarity index 93% rename from spikes/graphs-fe/plotly/src/components/graph/index.js rename to spikes/graphs-fe/plotly/src/components/plotlyGraph/index.js index 4078bb1d..7a22b970 100644 --- a/spikes/graphs-fe/plotly/src/components/graph/index.js +++ b/spikes/graphs-fe/plotly/src/components/plotlyGraph/index.js @@ -2,7 +2,7 @@ const React = require('react'); const Plot = require('./plot'); const localData = require('../../../lib/data'); -const Graph = React.createClass({ +const PlotlyGraph = React.createClass({ getInitialState: function() { return this.fetchData(this.props) @@ -61,4 +61,4 @@ const Graph = React.createClass({ } }) -module.exports = Graph; +module.exports = PlotlyGraph; diff --git a/spikes/graphs-fe/plotly/src/components/graph/plot.js b/spikes/graphs-fe/plotly/src/components/plotlyGraph/plot.js similarity index 100% rename from spikes/graphs-fe/plotly/src/components/graph/plot.js rename to spikes/graphs-fe/plotly/src/components/plotlyGraph/plot.js diff --git a/spikes/graphs-fe/plotly/src/showcase/root.js b/spikes/graphs-fe/plotly/src/showcase/root.js index 6c339e7a..70737b42 100644 --- a/spikes/graphs-fe/plotly/src/showcase/root.js +++ b/spikes/graphs-fe/plotly/src/showcase/root.js @@ -5,7 +5,7 @@ const { Button, Container, Base, - Graph + PlotlyGraph } = require('../'); const { @@ -18,7 +18,7 @@ module.exports = () => {

Hello

- +