Skip to content

ChatBubble

This component displays a chat bubble.

Functions

ChatBubble()

function ChatBubble(props): Element;

Defined in: src/components/ChatBubble.tsx:24

The ChatBubble component.

This component is responsible for the following:

  • Displaying a chat message.
  • Displaying an audio player if the message is an audio message.
  • Displaying a transcription of the audio if the message is a transcription.
  • Displaying a GPT-powered explanation of the transcription if the message is an explanation.

Parameters

Parameter Type Description
props ChatBubbleProps The props for the component.

Returns

Element

The ChatBubble component.