This commit is contained in:
Manav Rathi 2024-05-26 18:05:04 +05:30
parent 6bf6f78147
commit 4f31bd625d
No known key found for this signature in database

View file

@ -1,14 +1,9 @@
import type { BaseAppContextT } from "@/next/types/app";
import { TwoFactorType } from "@ente/accounts/constants/twofactor";
import type { DialogBoxAttributesV2 } from "@ente/shared/components/DialogBoxV2/types";
import { APPS } from "./constants";
export interface PageProps {
appContext: {
showNavBar: (show: boolean) => void;
isMobile: boolean;
setDialogBoxAttributesV2: (attrs: DialogBoxAttributesV2) => void;
logout: () => void;
};
appContext: BaseAppContextT;
appName: APPS;
twoFactorType?: TwoFactorType;
}