vision-agent / components /Providers.tsx
MingruiZhang's picture
feat: theme and logo (#58)
1b0e328 unverified
raw
history blame
554 Bytes
'use client';
import * as React from 'react';
import { ThemeProvider as NextThemesProvider } from 'next-themes';
import { ThemeProviderProps } from 'next-themes/dist/types';
import { TooltipProvider } from '@/components/ui/Tooltip';
// import { ThemeToggle } from './ThemeToggle';
export function Providers({ children, ...props }: ThemeProviderProps) {
return (
<NextThemesProvider {...props} forcedTheme="dark">
<TooltipProvider>
{children}
{/* <ThemeToggle /> */}
</TooltipProvider>
</NextThemesProvider>
);
}