This commit is contained in:
dev.daminik00 2025-09-26 12:25:56 +02:00
parent 60e3c5aa85
commit 6606e64987
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -55,7 +55,7 @@ function applyScreenOverrides<T extends ScreenDefinition>(
overrides: ScreenVariantDefinition<T>["overrides"]
): T {
const cloned = cloneScreen(screen);
return deepMerge(cloned, overrides);
return deepMerge(cloned, overrides as Partial<T>);
}
export function resolveScreenVariant<T extends ScreenDefinition>(