fix
This commit is contained in:
parent
60e3c5aa85
commit
6606e64987
@ -47,7 +47,7 @@ export interface ListOptionDefinition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface BottomActionButtonDefinition {
|
export interface BottomActionButtonDefinition {
|
||||||
text: string;
|
text?: string;
|
||||||
cornerRadius?: "3xl" | "full";
|
cornerRadius?: "3xl" | "full";
|
||||||
/** Controls whether button should be displayed. Defaults to true. */
|
/** Controls whether button should be displayed. Defaults to true. */
|
||||||
show?: boolean;
|
show?: boolean;
|
||||||
|
|||||||
@ -55,7 +55,7 @@ function applyScreenOverrides<T extends ScreenDefinition>(
|
|||||||
overrides: ScreenVariantDefinition<T>["overrides"]
|
overrides: ScreenVariantDefinition<T>["overrides"]
|
||||||
): T {
|
): T {
|
||||||
const cloned = cloneScreen(screen);
|
const cloned = cloneScreen(screen);
|
||||||
return deepMerge(cloned, overrides);
|
return deepMerge(cloned, overrides as Partial<T>);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function resolveScreenVariant<T extends ScreenDefinition>(
|
export function resolveScreenVariant<T extends ScreenDefinition>(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user