pub struct DialogContentProps<'__a> {
pub attrs: Attributes,
pub child: Child<'__a>,
}Expand description
The content panel inside a dialog.
Pass the dialog’s sections as children. To override its maximum width, use a more
specific class such as [&]:max-w-xl in attrs, or edit the component’s classes.
Fields§
§attrs: Attributes§child: Child<'__a>Implementations§
Source§impl<'__a> DialogContentProps<'__a>
impl<'__a> DialogContentProps<'__a>
Sourcepub fn builder() -> DialogContentPropsBuilder<'__a>
pub fn builder() -> DialogContentPropsBuilder<'__a>
Returns a DialogContentPropsBuilder with no properties set.
Trait Implementations§
Auto Trait Implementations§
impl<'__a> !RefUnwindSafe for DialogContentProps<'__a>
impl<'__a> !Sync for DialogContentProps<'__a>
impl<'__a> !UnwindSafe for DialogContentProps<'__a>
impl<'__a> Freeze for DialogContentProps<'__a>
impl<'__a> Send for DialogContentProps<'__a>
impl<'__a> Unpin for DialogContentProps<'__a>
impl<'__a> UnsafeUnpin for DialogContentProps<'__a>
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