Skip to main content

Dialog

Function Dialog 

Source
pub fn Dialog(props: DialogProps) -> impl IntoView
Expand description

A modal dialog with a title, body children, and cancel/confirm buttons. Toggled by the open signal; both buttons close it and run the optional on_cancel/on_confirm callbacks. The confirm button uses danger styling when danger is set.

§Required Props

§Optional Props