Enode — API Reference
    Preparing search index...
    • The header of a SettingsScreenFrame on its own, for screens that lay out their own body (e.g. a list that is its own scroller): ONE round back button and a heading-large title in the app's centred column, top safe-area inset included. On mount it moves the focus to the title (unless the header sits in an inert view), so screen readers start at the new view.

      Parameters

      • __namedParameters: {
            onBack: () => void;
            scrolled?: boolean;
            subheader?: ReactNode;
            title?: string;
        }
        • onBack: () => void

          The back button's action.

        • Optionalscrolled?: boolean

          Whether the body under the header is scrolled. When given, the header is an opaque bar (the frame's --frost-bg) that gains a hairline bottom border once scrolled, instead of the see-through frost. Omit it for the app-wide frosted edge.

        • Optionalsubheader?: ReactNode

          Pinned under the title row in the same column (e.g. a tab row). The header is then opaque and its bottom edge is the subheader's own.

        • Optionaltitle?: string

          Header title.

      Returns Element