import React, { ReactNode } from 'react'; import FocusTrap from 'focus-trap-react'; import { Modal, Overlay, OverlayBackdrop, OverlayCenter } from 'folds'; import { stopPropagation } from '../utils/keyboard'; import { HorseshoeEnabledContext } from './page'; type Modal500Props = { requestClose: () => void; children: ReactNode; }; export function Modal500({ requestClose, children }: Modal500Props) { return ( }> {/* PageRoot rendered inside the dialog (Settings, SpaceSettings, RoomSettings) would otherwise pick up the web horseshoe layout — void column + rounded corners inside a fixed 500px shell. Disable horseshoe for everything inside the modal. */} {children} ); }