Skip to main content
IntroductionBuild AgentsAgent FrontendsTelephonyRoboticsWebRTC TransportManage & DeployReferences
GitHub

Source

useMaybeLayoutContext

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

Import

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

Returns

LayoutContextType | undefined;