mirror of
https://github.com/hanzoai/commerce.git
synced 2026-10-30 15:08:42 +00:00
Multi-tenant commerce and billing: orders, subscriptions, invoices, plans, usage metering and a credit ledger. One Go binary. MIT OR Apache-2.0. Claude-Session: https://claude.ai/code/session_01SAtaDFm8VDiWrhYHNNtxMw
22 lines
689 B
TypeScript
22 lines
689 B
TypeScript
"use client"
|
|
|
|
/**
|
|
* Root client providers — the Hanzo GUI theme, and nothing else.
|
|
*
|
|
* The docs are a static export with no session and no data layer, so the only
|
|
* thing every page needs is the token/theme context the `@hanzo/gui` components
|
|
* and the `@hanzo/ui` component layer read from. The scale is
|
|
* `@hanzo/ui/gui-config` — the same one the Commerce admin renders on.
|
|
*/
|
|
import type { ReactNode } from "react"
|
|
import { GuiProvider } from "@hanzo/gui"
|
|
import config from "@hanzo/ui/gui-config"
|
|
|
|
const Providers = ({ children }: { children?: ReactNode }) => (
|
|
<GuiProvider config={config} defaultTheme="dark">
|
|
{children}
|
|
</GuiProvider>
|
|
)
|
|
|
|
export default Providers
|