diff --git a/src/shared/ui/Modal/Modal.tsx b/src/shared/ui/Modal/Modal.tsx index d69a5784..23ba56c0 100644 --- a/src/shared/ui/Modal/Modal.tsx +++ b/src/shared/ui/Modal/Modal.tsx @@ -15,7 +15,12 @@ interface ModalProps { const sizeMap: Record< ModalSize, - { width: number; height: number; buttonSize: "sm" | "md" | "lg"; textSize: string } + { + width: number; + height: number; + buttonSize: "sm" | "md" | "lg"; + textSize: string; + } > = { sm: { width: 400, height: 200, buttonSize: "sm", textSize: "text-base" }, md: { width: 500, height: 200, buttonSize: "md", textSize: "text-lg" }, @@ -34,15 +39,17 @@ export const Modal = ({
-

{message}

+

+ {message} +

); -}; \ No newline at end of file +};