add ui for create、modify、delete for tasks
This commit is contained in:
parent
1b468b8454
commit
f350875d90
14 changed files with 138 additions and 36 deletions
|
|
@ -9,7 +9,12 @@ 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>
|
||||
<button className="delete-reward" id={props.id}>
|
||||
<span className="material-icons md-24">clear</span>
|
||||
</button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue