Enode — API Reference
    Preparing search index...
    SettingsScreenProps: SettingsContentProps & {
        columnClassName?: string;
        focusSection?: SettingsFocusSection | null;
        initialPage?: SettingsPageId;
        onClose: () => void;
        open: boolean;
        requestKey?: number | string;
    }

    Props of SettingsScreen.

    Type Declaration

    • OptionalcolumnClassName?: string

      Overrides the screen column classes (default mx-auto w-full max-w-2xl px-6).

    • OptionalfocusSection?: SettingsFocusSection | null

      Legacy open request: "storage" opens "This device" on tracking like initialPage="thisDevice"; "questionnaires" opens Training.

    • OptionalinitialPage?: SettingsPageId

      The tab to open. "thisDevice" (or the legacy "displaySound") opens the "This device" tab on tracking; an account-wide section id opens that tab; every other page opens Training.

    • onClose: () => void

      Called when the user leaves Settings (Back on the Settings screen).

    • open: boolean

      Whether Settings is shown.

    • OptionalrequestKey?: number | string

      Re-request token: when it changes while open, Settings starts again on the requested tab, e.g. when a Settings link is tapped while Settings is already open.