container: add BurgerBuilder container
This commit is contained in:
parent
20d14b3fb2
commit
402c26d7b7
@ -1,14 +1,14 @@
|
|||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
|
|
||||||
import Layout from "./components/Layout/Layout";
|
import Layout from "./components/Layout/Layout";
|
||||||
|
import BurgerBuilder from "./containers/BurgerBuilder/BurgerBuilder"
|
||||||
|
|
||||||
class App extends Component {
|
class App extends Component {
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Layout>
|
<Layout>
|
||||||
Test
|
<BurgerBuilder />
|
||||||
</Layout>
|
</Layout>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import Aux from "../../hoc/Auxiliary";
|
import Aux from '../../hoc/Auxiliary';
|
||||||
|
|
||||||
const layout = (props) => (
|
const layout = (props) => (
|
||||||
<Aux>
|
<Aux>
|
||||||
|
17
src/containers/BurgerBuilder/BurgerBuilder.js
Normal file
17
src/containers/BurgerBuilder/BurgerBuilder.js
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
import React, { Component } from 'react';
|
||||||
|
|
||||||
|
import Aux from "../../hoc/Auxiliary";
|
||||||
|
|
||||||
|
class BurgerBuilder extends Component {
|
||||||
|
|
||||||
|
render() {
|
||||||
|
return (
|
||||||
|
<Aux>
|
||||||
|
<div>Burger</div>
|
||||||
|
<div>Build Controls</div>
|
||||||
|
</Aux>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default BurgerBuilder;
|
Loading…
Reference in New Issue
Block a user