new feature:delete task
This commit is contained in:
parent
bfb4ae627f
commit
73f4cbd16b
13 changed files with 118 additions and 67 deletions
|
|
@ -9,11 +9,11 @@ function RewardItem(props: any) {
|
|||
<p className="reward-text"><Emoji text={props.reward_text}></Emoji></p>
|
||||
<ReactMarkdown children={props.reward_notes} />
|
||||
</div>
|
||||
<button className="modify-reward" id={props.id}>
|
||||
<span className="material-icons md-24">create</span>
|
||||
<button className="task-operation" >
|
||||
<span className="material-icons md-24" id={props.id} onClick={props.onChange}>create</span>
|
||||
</button>
|
||||
<button className="delete-reward" id={props.id}>
|
||||
<span className="material-icons md-24">clear</span>
|
||||
<button className="task-operation">
|
||||
<span className="material-icons md-24" id={props.id} onClick={props.onChange}>clear</span>
|
||||
</button>
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue