GitHub

Source

ChatToggle

The ChatToggle component is a button that toggles the visibility of the Chat component.

Import

import { ChatToggle } from "@livekit/components-react";

Remarks

For the component to have any effect it has to live inside a LayoutContext context.

Usage

<LiveKitRoom>
<ToggleChat />
</LiveKitRoom>