import type { NextPage } from "next"; | |
import type { Todo } from "../components/Todo"; | |
const Home: NextPage = () => { | |
return ( | |
<div> | |
<h1>Todo List</h1> | |
<TodoList /> | |
</div> | |
); | |
}; | |
export default Home; |
import type { NextPage } from "next"; | |
import type { Todo } from "../components/Todo"; | |
const Home: NextPage = () => { | |
return ( | |
<div> | |
<h1>Todo List</h1> | |
<TodoList /> | |
</div> | |
); | |
}; | |
export default Home; |