feat : add modal details

This commit is contained in:
ali josheghani
2024-06-07 01:10:13 +03:30
parent 1210431d9d
commit ebb27a0182
8 changed files with 135 additions and 47 deletions

View File

@@ -4,7 +4,7 @@ export type MessageType = "info" | "danger" | "success" | "warning" | "dark";
export interface AlertProps {
children: React.ReactNode;
type?: "info" | "danger" | "success" | "warning" | "dark";
message: string;
message?: string;
}
// begin Button.tsx
@@ -99,7 +99,7 @@ export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
export interface MuiModalProps {
isOpenModal: boolean;
setIsOpenModal: SetStateAction;
title: string;
title?: string;
nameService?: string;
submitText: string;
submitOnClick?: () => void;
@@ -111,3 +111,4 @@ export interface ConfigItemProps {
configName: string;
isDisabled: boolean;
}