chore: scaffold turbo monorepo with hono api and react admin web

This commit is contained in:
Jose Selesan
2026-10-15 15:24:34 -03:00
commit 2b1d2152c4
89 changed files with 4996 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import { ThemeProvider as NextThemesProvider } from 'next-themes'
import type { ComponentProps } from 'react'
/** Wraps `next-themes` so the theme is toggled by a class on `<html>`. */
export function ThemeProvider({ children, ...props }: ComponentProps<typeof NextThemesProvider>) {
return (
<NextThemesProvider attribute="class" enableSystem disableTransitionOnChange {...props}>
{children}
</NextThemesProvider>
)
}