refactor(dialog/DialogFooter): move gap to base

This commit is contained in:
p-sw 2024-07-12 18:32:23 +09:00
parent b5e35aa905
commit c08a81badd

View File

@ -334,17 +334,9 @@ DialogSubtitle.displayName = "DialogSubtitle";
*/ */
const [dialogFooterVariant, resolveDialogFooterVariant] = vcn({ const [dialogFooterVariant, resolveDialogFooterVariant] = vcn({
base: "flex w-full flex-col items-end sm:flex-row sm:items-center sm:justify-end", base: "flex w-full flex-col items-end sm:flex-row sm:items-center sm:justify-end gap-2",
variants: { variants: {},
gap: { defaults: {},
sm: "gap-2",
md: "gap-4",
lg: "gap-6",
},
},
defaults: {
gap: "md",
},
}); });
interface DialogFooterProps interface DialogFooterProps