chore: add modal

This commit is contained in:
jialin
2024-05-20 15:43:26 +08:00
parent eeab170970
commit 313da7a9d2
10 changed files with 361 additions and 86 deletions
+7
View File
@@ -0,0 +1,7 @@
import { PageActionType } from './types';
export const PageAction: Record<string, PageActionType> = {
CREATE: 'create',
UPDATE: 'update',
VIEW: 'view'
};
+9
View File
@@ -0,0 +1,9 @@
export interface DropDownItem {
key: string;
label: string;
icon?: React.ReactNode;
disabled?: boolean;
iconfont?: boolean;
}
export type PageActionType = 'create' | 'update' | 'view';