Enode — API Reference
    Preparing search index...

    Return value of useSettingsSections.

    type SettingsSections = {
        empty: (id: SettingsSectionId) => boolean;
        notice: ReactNode;
        section: (id: SettingsSectionId) => ReactNode;
    }
    Index

    Properties

    Properties

    empty: (id: SettingsSectionId) => boolean

    Whether a section has nothing to show at all (Notifications & reminders without topics or device rows).

    notice: ReactNode

    An inline load error with Try again when the user app settings failed to load; otherwise null.

    section: (id: SettingsSectionId) => ReactNode

    The body of one account-wide section, or null: Training, Language & units and Tips wait until the user app settings are loaded; Notifications & reminders is null when it has nothing to show.