Skip to content

Latest commit

 

History

History
52 lines (25 loc) · 1.04 KB

File metadata and controls

52 lines (25 loc) · 1.04 KB

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, hideAISignpost, aiSignpostProps, onClose, customCssClasses, }: ChatHeaderProps): React.JSX.Element;

Parameters

Parameter

Type

Description

{ title, showRestartButton, restartButtonIcon, showCloseButton, closeButtonIcon, hideAISignpost, aiSignpostProps, onClose, customCssClasses, }

ChatHeaderProps

Returns:

React.JSX.Element