Skip to content

RtkBreakoutRoomsToggle

Last updated View as MarkdownAgent setup

A button which toggles visibility of breakout rooms. You need to pass the meeting object to it.

Properties

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

Usage Examples

Basic Usage

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

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

With Properties

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

function MyComponent() {
  return (
    <RtkBreakoutRoomsToggle
      iconPack={defaultIconPack}
      meeting={meeting}
      size="md"
    />
  );
}

Was this helpful?