pub fn dialog_provider(
args: DialogProviderArgs,
main_content: impl FnOnce(),
dialog_content: impl FnOnce(),
)Expand description
A provider component that manages the rendering and event flow for a modal dialog.
This component should be used as one of the outermost layers of the application.
It renders the main content, and when is_open is true, it overlays a modal
dialog, intercepting all input.