import React, { useCallback } from "react"; import { ButtonTooltip, HeaderButton } from "./RoomButton"; import { PopoverMenuTrigger } from "./PopoverMenu"; import { ReactComponent as SpotlightIcon } from "./icons/Spotlight.svg"; import { ReactComponent as FreedomIcon } from "./icons/Freedom.svg"; import { ReactComponent as CheckIcon } from "./icons/Check.svg"; import styles from "./GridLayoutMenu.module.css"; import { Menu } from "./Menu"; import { Item } from "@react-stately/collections"; export function GridLayoutMenu({ layout, setLayout }) { return ( Layout Type {layout === "spotlight" ? : } {(props) => ( Freedom {layout === "freedom" && } Spotlight {layout === "spotlight" && ( )} )} ); }