'use client'; import { createContext, useContext } from 'react'; export const ExamplePageContext = createContext(false); interface ExampleShellProps { title: string; description: string; children: React.ReactNode; } export function ExampleShell({ title, description, children, }: ExampleShellProps) { const hideHeader = useContext(ExamplePageContext); return (
{description}
> )}