feat: init
This commit is contained in:
2
apps/web/ce/components/cycles/end-cycle/index.ts
Normal file
2
apps/web/ce/components/cycles/end-cycle/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from "./modal";
|
||||
export * from "./use-end-cycle";
|
||||
13
apps/web/ce/components/cycles/end-cycle/modal.tsx
Normal file
13
apps/web/ce/components/cycles/end-cycle/modal.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
|
||||
interface Props {
|
||||
isOpen: boolean;
|
||||
handleClose: () => void;
|
||||
cycleId: string;
|
||||
projectId: string;
|
||||
workspaceSlug: string;
|
||||
transferrableIssuesCount: number;
|
||||
cycleName: string;
|
||||
}
|
||||
|
||||
export const EndCycleModal: React.FC<Props> = () => <></>;
|
||||
@@ -0,0 +1,7 @@
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
export const useEndCycle = (isCurrentCycle: boolean) => ({
|
||||
isEndCycleModalOpen: false,
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
setEndCycleModalOpen: (value: boolean) => {},
|
||||
endCycleContextMenu: undefined,
|
||||
});
|
||||
Reference in New Issue
Block a user