moderator-toolbox-nxg-for-reddit / shared/window/FullPageDialog

shared/window/FullPageDialog

Functions

FullPageDialog()

FullPageDialog(props): Element

Defined in: extension/data/shared/window/FullPageDialog.tsx:22

Renders a full-page modal overlay containing a styled dialog window. Combines Backdrop (scroll locking, Escape key, click-outside dismissal) and Window (title bar, close button, toolbar/footer slots) into a single composable unit. For tabbed dialogs use TabbedDialog instead.

Parameters

props

Component properties.

backdropClassName?

string

children

ReactNode

className?

string

headerButtons?

ReactNode

onClose?

() => void

title

ReactNode

toolbar?

ReactNode

width?

number

Returns

Element