Skip to content

RtkTranscript

Last updated View as Markdown Agent setup

A component which shows a transcript. You need to remove the element after you receive the rtkTranscriptDismiss event.

Properties

Property Type Required Default Description
t RtkI18n useLanguage() Language
transcript Transcript & { renderedId?: string } - Message

Usage Examples

Basic Usage

import { RtkTranscript } from '@cloudflare/realtimekit-react-ui';

function MyComponent() {
  return <RtkTranscript />;
}

With Properties

import { RtkTranscript } from '@cloudflare/realtimekit-react-ui';

function MyComponent() {
  return (
    <RtkTranscript
      t={rtki18n}
      transcript="example"
    />
  );
}

Was this helpful?