feat: init
This commit is contained in:
2
apps/web/ce/components/pages/modals/index.ts
Normal file
2
apps/web/ce/components/pages/modals/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from "./move-page-modal";
|
||||
export * from "./modals";
|
||||
15
apps/web/ce/components/pages/modals/modals.tsx
Normal file
15
apps/web/ce/components/pages/modals/modals.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
"use client";
|
||||
|
||||
import type React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
// components
|
||||
import type { EPageStoreType } from "@/plane-web/hooks/store";
|
||||
// store
|
||||
import type { TPageInstance } from "@/store/pages/base-page";
|
||||
|
||||
export type TPageModalsProps = {
|
||||
page: TPageInstance;
|
||||
storeType: EPageStoreType;
|
||||
};
|
||||
|
||||
export const PageModals: React.FC<TPageModalsProps> = observer((props) => null);
|
||||
10
apps/web/ce/components/pages/modals/move-page-modal.tsx
Normal file
10
apps/web/ce/components/pages/modals/move-page-modal.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
// store types
|
||||
import type { TPageInstance } from "@/store/pages/base-page";
|
||||
|
||||
export type TMovePageModalProps = {
|
||||
isOpen: boolean;
|
||||
onClose: () => void;
|
||||
page: TPageInstance;
|
||||
};
|
||||
|
||||
export const MovePageModal: React.FC<TMovePageModalProps> = () => null;
|
||||
Reference in New Issue
Block a user