RtkTranscripts
A component which handles transcripts. You can configure which transcripts you want to see and which ones you want to hear. There are also certain limits which you can set as well.
Properties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
config |
UIConfig |
❌ | createDefaultConfig() |
Config object |
meeting |
Meeting |
✅ | - | Meeting object |
states |
States |
✅ | - | States object |
t |
RtkI18n |
❌ | useLanguage() |
Language |
Usage Examples
Basic Usage
import { RtkTranscripts } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return <RtkTranscripts />;
}
With Properties
import { RtkTranscripts } from '@cloudflare/realtimekit-react-ui';
function MyComponent() {
return (
<RtkTranscripts
meeting={meeting}
/>
);
}
这篇文档对你有帮助吗?
谢谢你的反馈!