//! Dialog — the centered modal card.
useiced::{Element,widget::center};usesnora_core::Dialog;/// Center the dialog content in the window. The surrounding dim layer is
/// owned by [`crate::render::render`].
pub(crate)fnrender_dialog<'a, Message>(dialog:Dialog<Element<'a, Message>, Message>,
)->Element<'a, Message>where
Message: Clone + 'a,
{center(dialog.content).into()}