useLayoutContext
Ensures that a layout context is provided via context. If no layout context is provided, an error is thrown.
Import
import { useLayoutContext } from "@livekit/components-react";
Returns
LayoutContextType;
Source
Ensures that a layout context is provided via context. If no layout context is provided, an error is thrown.
import { useLayoutContext } from "@livekit/components-react";
LayoutContextType;