"use client"; import { createContext, useContext, ReactNode } from "react"; interface HeaderLeftContentContextType { headerLeftContent: ReactNode | null; } const HeaderLeftContentContext = createContext({ headerLeftContent: null, }); interface HeaderLeftContentProviderProps { children: ReactNode; content: ReactNode; } export function HeaderLeftContentProvider({ children, content }: HeaderLeftContentProviderProps) { return ( {children} ); } export function useHeaderLeftContent(): ReactNode | null { const context = useContext(HeaderLeftContentContext); return context.headerLeftContent; }