better-auth 1.0.0-alpha.4

The most comprehensive authentication framework for Rust
Documentation
1
2
3
4
5
6
7
8
"use client";
import { RootProvider } from "fumadocs-ui/provider/next";
import type { ReactNode } from "react";
import SearchDialog from "@/components/search";

export function Provider({ children }: { children: ReactNode }) {
  return <RootProvider search={{ SearchDialog }}>{children}</RootProvider>;
}