import * as React from "react";
import HabitItem from "./HabitItem"
export default function Index(props: any){
if(props.habits == undefined) {
return (
No habits present.
)
}
else {
console.log("habits = " + props.habits);
const allHabits = props.habits.map((habit: any) => {
return
})
const display =
return(display);
}
}