From 3bb2157c1db4a59a9709d6ca6a54596e3580c529 Mon Sep 17 00:00:00 2001 From: Denis Thiessen Date: Mon, 3 Jun 2024 17:45:30 +0200 Subject: [PATCH] fix: Added modifyability to PopupModal --- src/components/PopupModal.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/PopupModal.jsx b/src/components/PopupModal.jsx index 4231e5a..9a6beda 100644 --- a/src/components/PopupModal.jsx +++ b/src/components/PopupModal.jsx @@ -1,12 +1,12 @@ import React from "react"; import { Modal } from "@geist-ui/core"; -function PopupModal({ visible, closeHandler }) { +function PopupModal({ visible, closeHandler, content, title }) { return ( - Modal + {title} -

Some content contained within the modal.

+ {content}
Close