Struct thaw::ModalProps
source · pub struct ModalProps {
pub show: RwSignal<bool>,
pub title: MaybeSignal<String>,
pub children: Children,
pub modal_footer: Option<ModalFooter>,
}Expand description
Props for the Modal component.
Required Props
- show:
impl Into<RwSignal<bool>> - children:
Children
Optional Props
- title:
impl Into<MaybeSignal<String>> - modal_footer:
ModalFooter
Fields§
§show: RwSignal<bool>§title: MaybeSignal<String>§children: ChildrenImplementations§
source§impl ModalProps
impl ModalProps
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ModalProps
impl !Send for ModalProps
impl !Sync for ModalProps
impl Unpin for ModalProps
impl !UnwindSafe for ModalProps
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more