RtkClock
Displays elapsed meeting time as a running clock (HH:MM:SS or MM:SS).
Properties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
meeting |
RealtimeKitClient |
✅ | - | The RealtimeKit meeting instance |
iconPack |
IconPack |
❌ | defaultIconPack |
Custom icon pack |
t |
RtkI18n |
❌ | - | i18n translation function |
Usage Examples
Basic Usage
import { RtkClock } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkClock meeting={meeting} />;
}
With Properties
import { RtkClock } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkClock meeting={meeting} iconPack={customIconPack} />;
}
这篇文档对你有帮助吗?
谢谢你的反馈!