pub fn Dialog(props: DialogProps) -> impl IntoViewExpand 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
- open:
RwSignal<bool> - title:
impl Into<String> - children:
ChildrenFn
§Optional Props
- confirm_label:
impl Into<String> - cancel_label:
impl Into<String> - danger:
bool - on_confirm:
Callback<()> - on_cancel:
Callback<()>