mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
renaming component
This commit is contained in:
parent
23f75a5f7e
commit
9f7cb6ce33
@ -2,5 +2,5 @@ module.exports = {
|
||||
Button: require('./button'),
|
||||
Container: require('./container'),
|
||||
Base: require('./base'),
|
||||
Graph: require('./graph'),
|
||||
PlotlyGraph: require('./plotlyGraph'),
|
||||
};
|
||||
|
@ -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;
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user