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

@@ -23,6 +23,10 @@ import { DragCallback } from "./Grid";
import styles from "./SpotlightExpandedLayout.module.css";
import { useReactiveState } from "../useReactiveState";
/**
* An implementation of the "expanded spotlight" layout, in which the spotlight
* tile stretches edge-to-edge and is overlaid by a picture-in-picture tile.
*/
export const makeSpotlightExpandedLayout: CallLayout<
SpotlightExpandedLayoutModel
> = ({ minBounds, pipAlignment }) => ({