mirror of
https://github.com/zap-proto/dev.git
synced 2026-10-30 15:05:18 +00:00
Single-purpose Next.js + @hanzo/docs site for developer-facing content: quick start, schema language, language bindings, sub-protocol references, install commands. Distinct from: - zap-proto.io (protocol home) - zerocopy.app (marketing pitch) CNAME: zap-proto.dev
17 lines
349 B
TypeScript
17 lines
349 B
TypeScript
'use client';
|
|
import { RootProvider } from '@hanzo/docs-radix-ui/provider/next';
|
|
import { type ReactNode } from 'react';
|
|
|
|
export function Provider({ children }: { children: ReactNode }) {
|
|
return (
|
|
<RootProvider
|
|
theme={{
|
|
defaultTheme: 'dark',
|
|
attribute: 'class',
|
|
}}
|
|
>
|
|
{children}
|
|
</RootProvider>
|
|
);
|
|
}
|