diff --git a/src/app/components/TaskList/TaskList.component.scss b/src/app/components/TaskList/TaskList.component.scss new file mode 100755 index 0000000..600beb3 --- /dev/null +++ b/src/app/components/TaskList/TaskList.component.scss @@ -0,0 +1,3 @@ +.ar-TaskList { + +} diff --git a/src/app/components/TaskList/TaskList.test.ts b/src/app/components/TaskList/TaskList.test.ts new file mode 100755 index 0000000..3fa7d52 --- /dev/null +++ b/src/app/components/TaskList/TaskList.test.ts @@ -0,0 +1,8 @@ +import React from "react" +import TaskList from "./TaskList" + +describe("TaskList", () => { + it("renders without error", () => { + + }) +}) diff --git a/src/app/components/TaskList/TaskList.tsx b/src/app/components/TaskList/TaskList.tsx new file mode 100755 index 0000000..27c5658 --- /dev/null +++ b/src/app/components/TaskList/TaskList.tsx @@ -0,0 +1,107 @@ +import { useEffect, useState } from "react" +import { + ArButtonVariants, + ArPlacement, + ArSizes, + FunctionType, + Task, + TaskListProps, +} from "@armco/types" +import { Button, SidePanel } from ".." +import "./TaskList.component.scss" + +interface TaskItemProps { + setSelectedTask: FunctionType + task: Task +} + +const TaskItem = (props: TaskItemProps) => { + const { setSelectedTask, task } = props + return ( +