Skip to main content

Dialog

Function Dialog 

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

Dialog component for modal dialogs

§Example

rsx! {
    Dialog {
        visible: true,
        title: Some("My Dialog".to_string()),
        on_close: move |_| println!("Closed"),
        "Dialog content here"
    }
}