Implemented reusable components: - `TagSelector`: a customizable tag selection control with asynchronous mock data loading. - `AuthLoading`: a loading state wrapper for authentication processes. - `AdminLayout` and `DashboardLayout`: layouts with navigation and user management features. - `ThemeProvider`: supports dynamic theme toggling.
9 lines
320 B
TypeScript
9 lines
320 B
TypeScript
"use client";
|
|
|
|
import * as React from "react";
|
|
import { ThemeProvider as NextThemesProvider } from "next-themes";
|
|
import { type ThemeProviderProps } from "next-themes";
|
|
|
|
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
|
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
|
|
} |