Shopvento UI - v0.2.0
    Preparing search index...

    Function AccountLayout

    • Render account navigation, counts, help and host-owned logout around dashboard content.

      Parameters

      • __namedParameters: {
            active: "bookings" | "vouchers" | "settings" | "overview";
            children: ReactNode;
            counts?: Partial<Record<string, number>>;
            help: AccountHelp;
            onLogout: () => void;
            profile: ShopUserProfile;
            routes: AccountRoutes;
        }
        • active: "bookings" | "vouchers" | "settings" | "overview"

          Active account navigation section.

        • children: ReactNode

          Host-supplied child content.

        • Optionalcounts?: Partial<Record<string, number>>

          Optional host-provided navigation counts.

          {}
          
        • help: AccountHelp

          Host contact, opening hours and directions.

        • onLogout: () => void

          Perform the host logout action.

        • profile: ShopUserProfile

          Authoritative authenticated profile; null represents a guest.

        • routes: AccountRoutes

          Host-owned account routes.

      Returns Element