GitHub

Source

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;