Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 864 Bytes

File metadata and controls

24 lines (14 loc) · 864 Bytes

Home > @yext/chat-ui-react > ChatHeader

ChatHeader() function

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;

Parameters

Parameter Type Description
{ title, showRestartButton, restartButtonIcon, showCloseButton, closeButtonIcon, onClose, customCssClasses, } ChatHeaderProps

Returns:

React.JSX.Element