import { FC } from "react"; import { observer } from "mobx-react-lite"; import { ChevronRight } from "lucide-react"; import { Disclosure } from "@headlessui/react"; // components import { CyclePeekOverview, CyclesListMap } from "@/components/cycles"; // helpers import { cn } from "@/helpers/common.helper"; export interface ICyclesList { completedCycleIds: string[]; cycleIds: string[]; workspaceSlug: string; projectId: string; } export const CyclesList: FC = observer((props) => { const { completedCycleIds, cycleIds, workspaceSlug, projectId } = props; return (
{completedCycleIds.length !== 0 && ( {({ open }) => ( <> Completed cycles ({completedCycleIds.length}) )} )}
); });