new feature: add task
This commit is contained in:
parent
070b437bab
commit
bfb4ae627f
7 changed files with 74 additions and 35 deletions
|
|
@ -5,6 +5,7 @@ import ReactMarkdown from "react-markdown";
|
|||
function DailyItem(props: any) {
|
||||
return (
|
||||
<div className="todo-item" id={props.id}>
|
||||
{console.log(props)}
|
||||
<input type="checkbox" className="checkbox" id={props.id} onChange={props.onChange} checked={props.completed} />
|
||||
<div className="todo-content">
|
||||
<p><Emoji text={props.daily_text}></Emoji></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue