import { FC } from "react"; import { observer } from "mobx-react-lite"; import { Disclosure } from "@headlessui/react"; import { ChevronRight } from "lucide-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}) )} )}
); });