Enode — API Reference
    Preparing search index...

    Props of AccountHome.

    interface AccountHomeProps {
        error?: ReactNode;
        identity: AccountHomeIdentity | null;
        onOpen: (room: AccountHomeRoom) => void;
        onSignOut: () => void;
        showNotifications?: boolean;
        showPlan: boolean;
        signOutLabel?: string;
        values?: Partial<Record<AccountHomeRoom, string>>;
        version?: string | null;
    }
    Index

    Properties

    error?: ReactNode

    Shown instead of the rows when the user failed to load (host gives retry UI).

    identity: AccountHomeIdentity | null

    null = loading: skeleton header, rows hidden.

    onOpen: (room: AccountHomeRoom) => void
    onSignOut: () => void
    showNotifications?: boolean

    Shows a "Notifications" row in its own card under the identity header. For hosts whose header carries no bell (the tracking app's phone); the unread count goes in values.notifications. Default false.

    showPlan: boolean

    Host: readLicense privilege. Hides "Plan & usage" when false.

    signOutLabel?: string

    Defaults to t("Sign out").

    values?: Partial<Record<AccountHomeRoom, string>>

    Grey value per row, e.g. profile "Owner", plan "Pro", signedInDevices "3".

    version?: string | null

    Small centred line, e.g. "Version 4.12.0 (2141)".