Explain each layout

This commit is contained in:
Robin
2024-07-18 11:33:20 -04:00
parent 4955535374
commit 377b7ff5de
5 changed files with 22 additions and 0 deletions

View File

@@ -24,6 +24,10 @@ import { useReactiveState } from "../useReactiveState";
import styles from "./OneOnOneLayout.module.css";
import { DragCallback } from "./Grid";
/**
* An implementation of the "one-on-one" layout, in which the remote participant
* is shown at maximum size, overlaid by a small view of the local participant.
*/
export const makeOneOnOneLayout: CallLayout<OneOnOneLayoutModel> = ({
minBounds,
pipAlignment,