GitHub

Source

Pictographic representation of the component.

FocusLayout

The FocusLayout component is just a light wrapper around the ParticipantTile to display a single participant.

Import

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

Properties

onParticipantClick?(evt: ParticipantClickEvent) => void

(Optional)

trackRef?TrackReferenceOrPlaceholder

(Optional) The track to display in the focus layout.

deprecatedtrack?TrackReferenceOrPlaceholder

(Optional)

caution:

This property will be removed in a future version use trackRef instead.