import { FC } from "react"; import { observer } from "mobx-react-lite"; // components import { CyclePeekOverview, CyclesListItem } from "components/cycles"; import { EmptyState } from "components/empty-state"; // ui import { Loader } from "@plane/ui"; // constants import { EMPTY_STATE_DETAILS } from "constants/empty-state"; export interface ICyclesList { cycleIds: string[]; filter: string; workspaceSlug: string; projectId: string; } export const CyclesList: FC = observer((props) => { const { cycleIds, filter, workspaceSlug, projectId } = props; return ( <> {cycleIds ? ( <> {cycleIds.length > 0 ? (
{cycleIds.map((cycleId) => ( ))}
) : ( )} ) : ( )} ); });