Bagikan melalui


MessageProps type

Alat peraga untuk merender satu pesan.

Lihat MessageRenderer.

type MessageProps = {
  disableEditing?: boolean
  message: Message
  messageContainerStyle?: ComponentSlotStyle
  onDeleteMessage?: (messageId: string) => Promise<void>
  onSendMessage?: (messageId: string) => Promise<void>
  onUpdateMessage?: UpdateMessageCallback
  showDate?: boolean
  strings: MessageThreadStrings
}