1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00

renaming component

This commit is contained in:
Alex Windett 2016-11-03 15:16:36 +00:00 committed by Sérgio Ramos
parent 23f75a5f7e
commit 9f7cb6ce33
4 changed files with 5 additions and 5 deletions

View File

@ -2,5 +2,5 @@ module.exports = {
Button: require('./button'),
Container: require('./container'),
Base: require('./base'),
Graph: require('./graph'),
PlotlyGraph: require('./plotlyGraph'),
};

View File

@ -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;

View File

@ -5,7 +5,7 @@ const {
Button,
Container,
Base,
Graph
PlotlyGraph
} = require('../');
const {
@ -18,7 +18,7 @@ module.exports = () => {
<Base>
<Container>
<p>Hello</p>
<Graph />
<PlotlyGraph />
</Container>
</Base>
</AppContainer>