Skip to content

Instantly share code, notes, and snippets.

@ashwell
Last active December 12, 2022 11:51
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 ashwell/20ee9311b64ffb24a67eaa028259767b to your computer and use it in GitHub Desktop.
Save ashwell/20ee9311b64ffb24a67eaa028259767b to your computer and use it in GitHub Desktop.
Todo
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