Home > @yext/chat-ui-react > ChatHeader
A component that renders the header of a chat bot panel, including the title and a button to reset the conversation.
Signature:
export declare function ChatHeader({ title, showRestartButton, restartButtonIcon, showCloseButton, closeButtonIcon, onClose, customCssClasses, }: ChatHeaderProps): React.JSX.Element;| Parameter | Type | Description |
|---|---|---|
| { title, showRestartButton, restartButtonIcon, showCloseButton, closeButtonIcon, onClose, customCssClasses, } | ChatHeaderProps |
Returns:
React.JSX.Element