From 99792ac4afcf16556a1374a55dd7d1d90bca6ecc Mon Sep 17 00:00:00 2001 From: CormacDaly Date: Wed, 17 Jan 2024 12:14:18 +0000 Subject: [PATCH] drawer added to refund button --- .../dashboard/components/refund-button.tsx | 45 ++++++++++++++++--- 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/shop/src/app/dashboard/components/refund-button.tsx b/shop/src/app/dashboard/components/refund-button.tsx index 6b21a14..20f3f6d 100644 --- a/shop/src/app/dashboard/components/refund-button.tsx +++ b/shop/src/app/dashboard/components/refund-button.tsx @@ -1,9 +1,42 @@ import { PrimaryButton as Button } from '@/components/ui/button' -export function RefundButton() { - return( - - ) - +import { + Drawer, + DrawerClose, + DrawerContent, + DrawerDescription, + DrawerFooter, + DrawerHeader, + DrawerTitle, + DrawerTrigger, +} from '@/components/ui/drawer' -} \ No newline at end of file +export function RefundButton() { + return ( + + + + + + + + Refund Customer Order + + + Revert On-Chain Transaction + + + + + + + + + + + ) +}