Implement edit, delete user

This commit is contained in:
2023-10-29 21:33:49 +07:00
parent 2d936a9fdf
commit b45130c151
13 changed files with 254 additions and 81 deletions
@@ -1,3 +1,5 @@
import { TUser } from './types';
interface IMenusContext {
openId?: string;
close?: () => void;
@@ -27,6 +29,8 @@ interface IDialogProps {
reload?: boolean;
setReload?: React.Dispatch<React.SetStateAction<boolean>>;
ref?: React.MutableRefObject<HTMLDialogElement | undefined>;
user?: TUser | null;
isAdd?: boolean;
}
export type { IMenusContext, IButton, ITable, ITableBody, IDialogProps };