Layout mode for the video grid (built-in or custom).
Can be one of the built-in layout modes ('grid', 'speaker', 'sidebar') or any custom string identifier when using custom layouts.
// Using built-in layoutconst [layout, setLayout] = useState<LayoutMode>('grid');// Using custom layoutconst [layout, setLayout] = useState<LayoutMode>('presentation');<ControlBar showLayoutSelector layout={layout} onLayoutChange={setLayout} layouts={customLayouts}/> Copy
// Using built-in layoutconst [layout, setLayout] = useState<LayoutMode>('grid');// Using custom layoutconst [layout, setLayout] = useState<LayoutMode>('presentation');<ControlBar showLayoutSelector layout={layout} onLayoutChange={setLayout} layouts={customLayouts}/>
Layout mode for the video grid (built-in or custom).