From c87d874c4bb805f177634d86217850607a8074d5 Mon Sep 17 00:00:00 2001 From: dongyoungKo Date: Thu, 26 Jun 2025 10:26:45 +0900 Subject: [PATCH] add PDFModal component --- .../src/components/PDFViewer/PDFModal.jsx | 16 +++++++++ .../components/PDFViewer/PDFModal.module.less | 35 +++++++++++++++++++ .../src/views/MainView/MainView.jsx | 22 ++++++++---- 3 files changed, 66 insertions(+), 7 deletions(-) create mode 100644 com.twin.app.shoptime/src/components/PDFViewer/PDFModal.jsx create mode 100644 com.twin.app.shoptime/src/components/PDFViewer/PDFModal.module.less diff --git a/com.twin.app.shoptime/src/components/PDFViewer/PDFModal.jsx b/com.twin.app.shoptime/src/components/PDFViewer/PDFModal.jsx new file mode 100644 index 00000000..5077db2a --- /dev/null +++ b/com.twin.app.shoptime/src/components/PDFViewer/PDFModal.jsx @@ -0,0 +1,16 @@ +import React from "react"; +import css from "./PDFModal.module.less"; +const PDFModal = ({ pdfUrl, onClose }) => { + return ( +
+
+ +