"use client";

import * as React from "react";
import * as NextThemes from "next-themes";

/**
 * ThemeProvider wrapper for next-themes
 * Uses namespace import to avoid Turbopack naming collision
 * (Turbopack has issues when importing and re-exporting the same name)
 */
export function ThemeProvider({
  children,
  ...props
}: NextThemes.ThemeProviderProps) {
  return (
    <NextThemes.ThemeProvider {...props}>{children}</NextThemes.ThemeProvider>
  );
}
