import type { ReactNode } from 'react';
import { ToastContainer } from '@components/organisms/Toast';
import { ThemeProvider } from '@shared/providers/ThemeProvider';

interface AppProvidersProps {
  children: ReactNode;
}

export function AppProviders({ children }: AppProvidersProps) {
  return (
    <ThemeProvider defaultTheme="system">
      {children}
      <ToastContainer />
    </ThemeProvider>
  );
}
