Last active
December 12, 2022 11:51
-
-
Save ashwell/20ee9311b64ffb24a67eaa028259767b to your computer and use it in GitHub Desktop.
Todo
This file contains hidden or 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
interface Todo { | |
thing: string; | |
done: boolean; | |
} | |
interface TodoProps {} | |
export function Todo(props: TodoProps) { | |
const todos = []; | |
return ( | |
<ul> | |
{todos.map(() => { | |
return ( | |
<li> | |
<input type="checkbox" /> | |
<label>todo</label> | |
</li> | |
);})} | |
</ul> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment