From bc5c6e8ac24941f8a6df4f98b56476695ed41779 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:16:47 +0330 Subject: [PATCH] Import source: src/components/CenterPanel/forms/PDFForm Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- src/components/CenterPanel/forms/PDFForm.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/components/CenterPanel/forms/PDFForm.tsx diff --git a/src/components/CenterPanel/forms/PDFForm.tsx b/src/components/CenterPanel/forms/PDFForm.tsx new file mode 100644 index 0000000..c34c3db --- /dev/null +++ b/src/components/CenterPanel/forms/PDFForm.tsx @@ -0,0 +1,15 @@ +import { useQR } from '../../../context/QRContext'; +import { TextInput } from '../../ui/TextInput'; + +export function PDFForm() { + const { state, dispatch } = useQR(); + return ( + dispatch({ type: 'SET_FORM_FIELD', qrType: 'pdf', field: 'pdfUrl', value: v })} + placeholder="https://example.com/document.pdf" + type="url" + /> + ); +}