GitHub

Source

FocusToggle

The FocusToggle puts the ParticipantTile in focus or removes it from focus.

Import

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

Remarks

This component needs to live inside LayoutContext to work properly.

Usage

<ParticipantTile>
<FocusToggle />
</ParticipantTile>

Properties

trackRef?TrackReferenceOrPlaceholder

(Optional)