464a480043
Might already fix #13793
25 lines
556 B
TypeScript
25 lines
556 B
TypeScript
import { AppPath } from '@/types/AppPath';
|
|
import { type ModalSize, type ModalVariants } from '@/ui/layout/modal/components/Modal';
|
|
|
|
type AuthModalConfigType = {
|
|
size: ModalSize;
|
|
variant: ModalVariants;
|
|
showScrollWrapper: boolean;
|
|
};
|
|
|
|
export const AUTH_MODAL_CONFIG: {
|
|
default: AuthModalConfigType;
|
|
[key: string]: AuthModalConfigType;
|
|
} = {
|
|
default: {
|
|
size: 'medium',
|
|
variant: 'primary',
|
|
showScrollWrapper: true,
|
|
},
|
|
[AppPath.BookCall]: {
|
|
size: 'extraLarge',
|
|
variant: 'transparent',
|
|
showScrollWrapper: false,
|
|
},
|
|
};
|