Struct respo::dialog::ModalOptions
source · pub struct ModalOptions<T>where
T: Debug + Clone,{
pub backdrop_style: RespoStyle,
pub card_style: RespoStyle,
pub title: Option<String>,
pub render: ModalRenderer<T>,
}
Expand description
The options for custom modal.
Fields§
§backdrop_style: RespoStyle
inline style for backdrop
card_style: RespoStyle
inline style for card
title: Option<String>
title of the modal, defaults to Modal
render: ModalRenderer<T>
render body
Trait Implementations§
source§impl<T> Clone for ModalOptions<T>where
T: Debug + Clone + Clone,
impl<T> Clone for ModalOptions<T>where
T: Debug + Clone + Clone,
source§fn clone(&self) -> ModalOptions<T>
fn clone(&self) -> ModalOptions<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more