"use client"
import { HeroUIProvider } from "@heroui/react"
import { ToastProvider } from "@heroui/toast"
import { ThemeProvider as NextThemesProvider } from "next-themes"

export default function Providers({ children }: { children: React.ReactNode }) {
  return (
    <HeroUIProvider className="h-full bg-transparent">
      <NextThemesProvider attribute="class" defaultTheme="light" >
        <ToastProvider toastOffset={10} placement="top-center" />
        {children}
      </NextThemesProvider>
    </HeroUIProvider>
  )
}
