feat(ui): add secondary action slot to wizard footer

This commit is contained in:
alejandrobailo committed 2026-02-23 15:24:20 +01:00
1 parent a248ac6788
commit 64193376b5
1 file changed
+9
@@ -6,11 +6,20 @@ export const WIZARD_FOOTER_ACTION_TYPE = {
export type WizardFooterActionType =
(typeof WIZARD_FOOTER_ACTION_TYPE)[keyof typeof WIZARD_FOOTER_ACTION_TYPE];
export type WizardFooterSecondaryActionVariant = "outline" | "link";
export interface WizardFooterConfig {
showBack: boolean;
backLabel: string;
backDisabled?: boolean;
onBack?: () => void;
showSecondaryAction?: boolean;
secondaryActionLabel?: string;
secondaryActionDisabled?: boolean;
secondaryActionVariant?: WizardFooterSecondaryActionVariant;
secondaryActionType?: WizardFooterActionType;
secondaryActionFormId?: string;
onSecondaryAction?: () => void;
showAction: boolean;
actionLabel: string;
actionDisabled?: boolean;