Files
vercel__eve/apps/docs/components/geistdocs/provider.tsx
Andrew Barba f44e16a3e5 Hello Eve (#1)
Co-authored-by: Casey Gowrie <ctgowrie@gmail.com>
Co-authored-by: Allen Zhou <46854522+allenzhou101@users.noreply.github.com>
Co-authored-by: Rui Conti <ruiconti@gmail.com>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
Co-authored-by: Timo Lins <1440854+timolins@users.noreply.github.com>
Co-authored-by: Felix Arntz <3531426+felixarntz@users.noreply.github.com>
Co-authored-by: Shar Dara <2982650+darafsheh@users.noreply.github.com>
Co-authored-by: John Phamous <johnphammail@gmail.com>
2026-06-16 18:10:54 +01:00

29 lines
746 B
TypeScript

"use client";
import { Analytics } from "@vercel/analytics/next";
import { GeistdocsProvider as PackageProvider } from "@vercel/geistdocs/layout";
import { SpeedInsights } from "@vercel/speed-insights/next";
import type { ComponentProps } from "react";
import { config } from "@/lib/geistdocs/config";
type GeistdocsProviderProps = Omit<ComponentProps<typeof PackageProvider>, "config"> & {
basePath: string | undefined;
className?: string;
lang?: string;
};
export const GeistdocsProvider = ({
basePath: _basePath,
className: _className,
lang,
...props
}: GeistdocsProviderProps) => {
return (
<>
<PackageProvider config={config} lang={lang} {...props} />
<Analytics />
<SpeedInsights />
</>
);
};