mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
(cherry picked from commit e7522b71172874f6624eb45e09a78f013f287270) Co-authored-by: Hanzo Dev <[email protected]>
13 lines
311 B
TypeScript
13 lines
311 B
TypeScript
'use client';
|
|
|
|
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
|
import type { ReactNode } from 'react';
|
|
|
|
export function Provider({ children }: { children: ReactNode }) {
|
|
return (
|
|
<RootProvider theme={{ defaultTheme: 'dark', enableSystem: false }}>
|
|
{children}
|
|
</RootProvider>
|
|
);
|
|
}
|