UNPKG

better-auth-dashboard

Version:

A better-Auth powered admin dashboard.

8 lines (7 loc) 436 B
"use client"; import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { AppSidebar } from "./components/AppSidebar"; export const Dashboard = ({ components, path = "/dashboard", children, params, }) => { console.log(children); return (_jsxs(components.SidebarProvider, { children: [_jsx(AppSidebar, { components: components, path: path }), _jsx("main", { children: _jsx(components.SidebarTrigger, {}) })] })); };