From 402c26d7b79f4b418bc76a7ecb797e5b4a84d0a5 Mon Sep 17 00:00:00 2001 From: oscarzhou Date: Wed, 9 Dec 2020 19:36:59 +1300 Subject: [PATCH] container: add BurgerBuilder container --- src/App.js | 4 ++-- src/components/Layout/Layout.js | 2 +- src/containers/BurgerBuilder/BurgerBuilder.js | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 src/containers/BurgerBuilder/BurgerBuilder.js diff --git a/src/App.js b/src/App.js index 7fb8d79..98df92a 100644 --- a/src/App.js +++ b/src/App.js @@ -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 (
- Test +
); diff --git a/src/components/Layout/Layout.js b/src/components/Layout/Layout.js index 30d28f0..93a66ad 100644 --- a/src/components/Layout/Layout.js +++ b/src/components/Layout/Layout.js @@ -1,6 +1,6 @@ import React from 'react'; -import Aux from "../../hoc/Auxiliary"; +import Aux from '../../hoc/Auxiliary'; const layout = (props) => ( diff --git a/src/containers/BurgerBuilder/BurgerBuilder.js b/src/containers/BurgerBuilder/BurgerBuilder.js new file mode 100644 index 0000000..2b65a91 --- /dev/null +++ b/src/containers/BurgerBuilder/BurgerBuilder.js @@ -0,0 +1,17 @@ +import React, { Component } from 'react'; + +import Aux from "../../hoc/Auxiliary"; + +class BurgerBuilder extends Component { + + render() { + return ( + +
Burger
+
Build Controls
+
+ ); + } +} + +export default BurgerBuilder;