Created task menu, started habits menu

This commit is contained in:
ransurf 2021-10-17 21:58:59 -07:00
parent 9fe8405bab
commit a4ebd7aab3
17 changed files with 623 additions and 37 deletions

View file

@ -0,0 +1,18 @@
import * as React from "react";
function HabitItem(props: any) {
console.log(props);
return (
<div className="habit-item" id={props.id}>
<button className="habit-plus" onClick={() => this.handleClick()}>
+
</button>
<p>{props.habit_text}</p>
<button className="habit-minus" onClick={() => this.handleClick()}>
-
</button>
</div>
)
}
export default HabitItem