'use client'; import React from 'react' import { useConfig } from '@/hooks/use-config' import { cn } from '@/lib/utils' const HeaderContent = ({ children }: { children: React.ReactNode }) => { const [config] = useConfig() const headerTheme = config.headerTheme !== 'light' && config.headerTheme !== 'transparent' ? ` dark theme-${config.headerTheme}` : `theme-${config.headerTheme}` if (config.sidebar === 'two-column') { return (
{children}
) } return (
{children}
) } export default HeaderContent