mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 22:39:23 -05:00
1e4832a6d0
* demo: refactor docs * demo: refactor docs * demo: refactor docs * demo: refactor docs
793 B
793 B
Modal
let show = create_rw_signal(false);
view! {
<Button on_click=move |_| show.set(true)>"Open Modal"</Button>
<Modal title="title" show>
"hello"
</Modal>
}
Modal Props
Name | Type | Default | Description |
---|---|---|---|
show | MaybeSignal<bool> |
Whether to show modal. | |
title | MaybeSignal<String> |
Default::default() |
Modal title. |
children | Children |
Modal's content. |
Modal Slots
Name | Default | Description |
---|---|---|
ModalFooter | None |
Footer content. |