RtkBreakoutRoomsToggle
A button which toggles visibility of breakout rooms.
You need to pass the meeting object to it.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
iconPack | IconPack | ✅ | - | Icon pack |
meeting | Meeting | ✅ | - | Meeting object |
size | Size | ✅ | - | Size |
states | States | ✅ | - | States object |
t | RtkI18n | ✅ | - | Language |
variant | ControlBarVariant | ✅ | - | Variant |
import { RtkBreakoutRoomsToggle } from '@cloudflare/realtimekit-react-ui';
function MyComponent() { return <RtkBreakoutRoomsToggle />;}import { RtkBreakoutRoomsToggle } from '@cloudflare/realtimekit-react-ui';
function MyComponent() { return ( <RtkBreakoutRoomsToggle iconPack={defaultIconPack} meeting={meeting} size="md" /> );}