LiveKit LogoDocs
Real-timeEgress/IngressCloudReference

useMaybeLayoutContext

Returns a layout context from the LayoutContext if it exists, otherwise undefined.

Import

import { useMaybeLayoutContext } from '@livekit/components-react';

Returns

LayoutContextType | undefined;

On this page

ImportReturns

Previous

Chevron IconuseLocalParticipantPermissions
LiveKit Logo

Product

SFU

SDKs

Cloud Dashboard

Cloud Status

GitHub Logo