From c08a81badda23f68f971952c40e9b73e8f9474bf Mon Sep 17 00:00:00 2001 From: p-sw Date: Fri, 12 Jul 2024 18:32:23 +0900 Subject: [PATCH] refactor(dialog/DialogFooter): move gap to base --- packages/react/components/Dialog/Component.tsx | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/packages/react/components/Dialog/Component.tsx b/packages/react/components/Dialog/Component.tsx index 3e8369b..1993797 100644 --- a/packages/react/components/Dialog/Component.tsx +++ b/packages/react/components/Dialog/Component.tsx @@ -334,17 +334,9 @@ DialogSubtitle.displayName = "DialogSubtitle"; */ const [dialogFooterVariant, resolveDialogFooterVariant] = vcn({ - base: "flex w-full flex-col items-end sm:flex-row sm:items-center sm:justify-end", - variants: { - gap: { - sm: "gap-2", - md: "gap-4", - lg: "gap-6", - }, - }, - defaults: { - gap: "md", - }, + base: "flex w-full flex-col items-end sm:flex-row sm:items-center sm:justify-end gap-2", + variants: {}, + defaults: {}, }); interface DialogFooterProps