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, hideAISignpost, aiSignpostProps, onClose, customCssClasses, }: ChatHeaderProps): React.JSX.Element;|
Parameter |
Type |
Description |
|---|---|---|
|
{ title, showRestartButton, restartButtonIcon, showCloseButton, closeButtonIcon, hideAISignpost, aiSignpostProps, onClose, customCssClasses, } |
Returns:
React.JSX.Element