This component is used to render the main content within a dialog. There are
really only benefits when using the component alongside the DialogHeader
and/or DialogFooter
since it is set up so only the content will scroll
while the header and footer will be "fixed".
This component doesn't do anything to complex. It really just applies custom
styles so that when the DialogContent
component is used, the header will be
"fixed" to the top of the dialog while the content scrolls. It also applies
some minimal padding.
This component adds some base styles to an <h2>
element for a title within
a Dialog
.
The FixedDialog
is a wrapper for the Dialog
component that can be used to
be fix itself to another element. Another term for this component might be a
"Pop out Dialog".
This component is used to help with handling nested dialogs by:
This should be added to the root of your app if you would like to enable this feature.
Generated using TypeDoc
An optional alignment for the content within the footer. Since the majority of dialog footers are used to contain action buttons, the default alignment is near the end.
@since 3.1.0