Skip to content

Instantly share code, notes, and snippets.

@pubudu-ranasinghe
Created November 3, 2019 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pubudu-ranasinghe/9aee8f14caf6b40e076ba9a726a0e04e to your computer and use it in GitHub Desktop.
Save pubudu-ranasinghe/9aee8f14caf6b40e076ba9a726a0e04e to your computer and use it in GitHub Desktop.
react-context-example-13
import React from "react";
import { NewItem, ItemList } from "./Items";
export default function Todo() {
return (
<header className="App-header">
<h2>🚀 ToDo App</h2>
<NewItem />
<ItemList />
</header>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment