- Enhanced responsiveness and layout adjustments across various components
This commit is contained in:
@@ -23,6 +23,14 @@ const ModalComponent = ({ isModalOpen, children, close }: ModalComponentProps) =
|
||||
},
|
||||
}}
|
||||
>
|
||||
<div className="flex justify-end">
|
||||
<button
|
||||
onClick={close}
|
||||
className="bg-gray-700 hover:bg-gray-600 text-white font-bold py-2 px-4 rounded-lg mb-4"
|
||||
>
|
||||
Close
|
||||
</button>
|
||||
</div>
|
||||
{children}
|
||||
</Modal>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user