import { clsx } from 'clsx'; import React from 'react'; /** * Props for the ChatWindowHeader component */ export interface ChatWindowHeaderProps { /** Content to be rendered within the header */ children?: React.ReactNode; /** Additional CSS classes to apply to the header container */ className?: string; /** Optional ARIA label for the header */ 'aria-label'?: string; } /** * ChatWindowHeader component provides a consistent header area for chat windows * * Features: * - Flexible content slot for custom header components * - Consistent styling with dark mode support * - Accessible design with proper semantic structure * - Fixed positioning to maintain header visibility during scroll * * @example * // Basic usage with room info * * * * * @example * // With custom content and styling * *
*

General Discussion

* 5 participants online *
*
* * @example * // Empty header (spacer only) * */ export const ChatWindowHeader = ({ children, className = '', 'aria-label': ariaLabel, }: ChatWindowHeaderProps) => { // Combine base classes with custom className return (
{children}
); }; ChatWindowHeader.displayName = 'ChatWindowHeader';