---
layout: typedoc
title: 'IDialogProps | @msrvida/sanddance-explorer'
---
Interface IDialogProps
Optional id for aria-LabelledBy
Optional class name to be added to the root class
Aria label on close button.
Optional callback to access the IDialog interface. Use this instead of ref for accessing the public methods and properties of the component.
Optional override for container class
Optional override content class
Props to be passed through to Dialog Content
Sets the element to focus on when exiting the control's FocusTrapZone.
Class name (not actual selector) for first focusable item. Do not append a dot.
Whether control should force focus inside its focus trap zone.
Whether the dialog is hidden.
If false (the default), the control's FocusTrapZone will restore focus to the element which activated it once the trap zone is unmounted or disabled. Set to true to disable this behavior.
Whether the dialog can be light dismissed by clicking outside the dialog (on the overlay).
Whether this control will allow clicks outside its FocusTrapZone.
Whether the overlay is dark themed.
Whether the dialog is displayed.
Deprecated, use hidden
instead.
Sets the maximum width for the dialog. It limits the width property to be larger than the value specified in max-width.
Sets the minimum width of the dialog. It limits the width property to be not smaller than the value specified in min-width.
Props to be passed through to Modal
Call to provide customized styling that will layer on top of the variant rules
The subtext to display in the dialog.
Theme provided by HOC.
Other top buttons that will show up next to the close button
The type of Dialog to display.
A callback function for when the Dialog is dismissed from the close button or light dismiss. Can also be specified separately in content and modal.
A callback function which is called after the Dialog is dismissed and the animation is complete.
A callback function for when the Dialog content is mounted on the overlay layer
Deprecated at 0.81.2, use onLayerDidMount
instead.
Optional id for aria-DescribedBy
Pass through via
modalProps.subtitleAriaId
instead.