From 3896c1be0d295835c2b10974e22c2cffdcc05006 Mon Sep 17 00:00:00 2001 From: oscar Date: Sat, 18 Mar 2023 12:41:44 +1300 Subject: [PATCH] add modal component --- public/index.html | 1 + src/App.js | 2 ++ src/components/Cart/Cart.js | 5 ++-- src/components/UI/Modal.js | 30 ++++++++++++++++++++++ src/components/UI/Modal.module.css | 40 ++++++++++++++++++++++++++++++ 5 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 src/components/UI/Modal.js create mode 100644 src/components/UI/Modal.module.css diff --git a/public/index.html b/public/index.html index aa069f2..0aa3cae 100644 --- a/public/index.html +++ b/public/index.html @@ -28,6 +28,7 @@ +