Last active
June 22, 2019 20:11
-
-
Save greaveselliott/d56bb7386b7e3af6e40f6084d743810b to your computer and use it in GitHub Desktop.
medium-reduxless-view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import "./app.scss"; | |
export default function App() { | |
return ( | |
<main className="app"> | |
<h1 className="app__title">To do list</h1> | |
<form className="app__form"> | |
<input type="text" className="app__input" /> | |
<input | |
type="submit" | |
className="app__input-submit" | |
value="Add to list" | |
/> | |
</form> | |
<ul className="app__list"> | |
<li className="app__list-item">Lorem</li> | |
<li className="app__list-item">Ipsum</li> | |
</ul> | |
</main> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment