merge commit 1

This commit is contained in:
Leoh 2021-10-23 10:14:26 +05:30
commit f3e8047322
4 changed files with 52 additions and 26 deletions

View file

@ -6,8 +6,8 @@ function HabitItem(props: any) {
<button className="habit-plus" id={"plus"+props.id} onClick={props.onChange}>
+{props.upCount}
</button>
<p>{props.habit_text}</p>
<button className="habit-plus" id={"mins"+props.id} onClick={props.onChange}>
<p className="habit-text">{props.habit_text}</p>
<button className="habit-minus" id={"mins"+props.id} onClick={props.onChange}>
-{props.downCount}
</button>
</div>

View file

@ -5,17 +5,17 @@ import Todoview from "./Todoview"
import { Tab, Tabs, TabList, TabPanel } from "react-tabs";
export default function Index(props: any){
const display = <div className="taskView">
const display = <div className="task-view">
<Tabs>
<TabList>
<Tab>
<Tab >
<span className="material-icons md-24">task_alt</span>
</Tab>
<Tab>
<span className="material-icons">today</span>
<span className="material-icons md-24">today</span>
</Tab>
<Tab>
<span className="material-icons">add_circle_outline</span>
<span className="material-icons md-24">add_circle_outline</span>
</Tab>
</TabList>
<TabPanel>
@ -30,5 +30,5 @@ export default function Index(props: any){
</Tabs>
</div>
return(display);
}
} //yes