container: add BurgerBuilder container

This commit is contained in:
oscarzhou 2020-12-09 19:36:59 +13:00
parent 20d14b3fb2
commit 402c26d7b7
3 changed files with 20 additions and 3 deletions

View File

@ -1,14 +1,14 @@
import React, { Component } from 'react';
import Layout from "./components/Layout/Layout";
import BurgerBuilder from "./containers/BurgerBuilder/BurgerBuilder"
class App extends Component {
render() {
return (
<div>
<Layout>
Test
<BurgerBuilder />
</Layout>
</div>
);

View File

@ -1,6 +1,6 @@
import React from 'react';
import Aux from "../../hoc/Auxiliary";
import Aux from '../../hoc/Auxiliary';
const layout = (props) => (
<Aux>

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