import { FC } from "react"; import { observer } from "mobx-react-lite"; // components import { CyclePeekOverview, CyclesBoardCard } from "components/cycles"; import { EmptyState } from "components/empty-state"; // constants import { EMPTY_STATE_DETAILS } from "constants/empty-state"; export interface ICyclesBoard { cycleIds: string[]; filter: string; workspaceSlug: string; projectId: string; peekCycle: string | undefined; } export const CyclesBoard: FC = observer((props) => { const { cycleIds, filter, workspaceSlug, projectId, peekCycle } = props; return ( <> {cycleIds?.length > 0 ? (
{cycleIds.map((cycleId) => ( ))}
) : ( )} ); });