feat : add modal details
This commit is contained in:
5
src/types/props.d.ts
vendored
5
src/types/props.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user