Renders the dialog frame of the app's dialogs: creating a dump, the chat, adding to a playlist, changing a password.

Functions

f
Modal(unnamed 0: ModalProps): React.ReactPortal

Renders the dialog in a portal over the page, closed by Escape, the backdrop or its ✕, and locks the page's scroll while it is open. Content that handles Escape itself must call preventDefault on it, or the dialog closes too.

Interfaces

I
ModalProps

Passed to Modal by the component that shows it, which unmounts it in onClose.