pxt-core
Version:
Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors
13 lines (12 loc) • 489 B
TypeScript
/// <reference path="../../../../react-common/components/types.d.ts" />
import { CheckboxStatus } from "../util";
export interface ProfileProps {
user: pxt.auth.UserState;
signOut: () => void;
deleteProfile: () => void;
checkedEmail: CheckboxStatus;
onClickedEmail: (isChecked: boolean) => void;
notification?: pxt.ProfileNotification;
showModalAsync(options: DialogOptions): Promise<void>;
}
export declare const Profile: (props: ProfileProps) => JSX.Element;