From dcd37330c9b1c0b1de0a484f57b0ad226de9f059 Mon Sep 17 00:00:00 2001 From: Ricardo Castro Date: Sat, 29 Jun 2024 16:19:44 +0200 Subject: [PATCH] feat: add simple send gift --- .../app/components/gift/simple-send-gift.tsx | 24 +++++++++++++++++-- apps/gifting-concierge/src/app/send/page.tsx | 9 +++++-- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/apps/gifting-concierge/src/app/components/gift/simple-send-gift.tsx b/apps/gifting-concierge/src/app/components/gift/simple-send-gift.tsx index 4428e913..bf22d29c 100644 --- a/apps/gifting-concierge/src/app/components/gift/simple-send-gift.tsx +++ b/apps/gifting-concierge/src/app/components/gift/simple-send-gift.tsx @@ -21,6 +21,14 @@ import { import { Button } from "@theliaison/ui/button"; export function SimpleSendGift() { + const [recipientName, setRecipientName] = useState(""); + const [contactInfo, setContactInfo] = useState(""); + + function handleSubmit(e: React.FormEvent) { + e.preventDefault(); + console.log("submit"); + } + return ( @@ -33,7 +41,13 @@ export function SimpleSendGift() {
- + setRecipientName(e.target.value)} + />
@@ -104,7 +118,13 @@ export function SimpleSendGift() { maxLength={15} />
*/} - + setContactInfo(e.target.value)} + />