Context
This commit is contained in:
parent
6bf6f78147
commit
4f31bd625d
1 changed files with 2 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue