From 80a262b0dbd4c40af46310eabe874d14cc15b765 Mon Sep 17 00:00:00 2001 From: idannaim Date: Tue, 6 Nov 2018 10:59:04 +0200 Subject: [PATCH] init basic app --- .idea/misc.xml | 6 ++++++ src/App.js | 29 ++++++++++++++--------------- 2 files changed, 20 insertions(+), 15 deletions(-) create mode 100644 .idea/misc.xml diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..24eb271 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/src/App.js b/src/App.js index 7e261ca..8f39cc6 100644 --- a/src/App.js +++ b/src/App.js @@ -1,25 +1,24 @@ import React, { Component } from 'react'; -import logo from './logo.svg'; import './App.css'; +const recipes = ['Waffles', 'Omelets']; + +const Recipe = (props) =>( +
  • { props.recipe }
  • +) + +const Recipes = (props) => ( + +); + class App extends Component { render() { return (
    -
    - logo -

    - Edit src/App.js and save to reload. -

    - - Learn React - -
    +

    Recipes:

    +
    ); }