diff --git a/src/lib/funnel/types.ts b/src/lib/funnel/types.ts index 92df89f..6515cda 100644 --- a/src/lib/funnel/types.ts +++ b/src/lib/funnel/types.ts @@ -47,7 +47,7 @@ export interface ListOptionDefinition { } export interface BottomActionButtonDefinition { - text: string; + text?: string; cornerRadius?: "3xl" | "full"; /** Controls whether button should be displayed. Defaults to true. */ show?: boolean; diff --git a/src/lib/funnel/variants.ts b/src/lib/funnel/variants.ts index bc1f019..9df515c 100644 --- a/src/lib/funnel/variants.ts +++ b/src/lib/funnel/variants.ts @@ -55,7 +55,7 @@ function applyScreenOverrides( overrides: ScreenVariantDefinition["overrides"] ): T { const cloned = cloneScreen(screen); - return deepMerge(cloned, overrides); + return deepMerge(cloned, overrides as Partial); } export function resolveScreenVariant(