mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
21 lines
462 B
TypeScript
21 lines
462 B
TypeScript
// components
|
|
import { CyclesListItem } from "@/components/cycles";
|
|
|
|
type Props = {
|
|
cycleIds: string[];
|
|
projectId: string;
|
|
workspaceSlug: string;
|
|
};
|
|
|
|
export const CyclesListMap: React.FC<Props> = (props) => {
|
|
const { cycleIds, projectId, workspaceSlug } = props;
|
|
|
|
return (
|
|
<>
|
|
{cycleIds.map((cycleId) => (
|
|
<CyclesListItem key={cycleId} cycleId={cycleId} workspaceSlug={workspaceSlug} projectId={projectId} />
|
|
))}
|
|
</>
|
|
);
|
|
};
|