pub struct Props {
pub icon: Option<String>,
pub title: String,
pub description: Option<String>,
pub action: Option<Markup>,
}Expand description
EmptyState rendering properties
Fields§
§icon: Option<String>Optional icon (text or emoji), defaults to 📭
title: StringMain title/heading
description: Option<String>Optional description text
action: Option<Markup>Optional action markup (e.g., button)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Props
impl RefUnwindSafe for Props
impl Send for Props
impl Sync for Props
impl Unpin for Props
impl UnsafeUnpin for Props
impl UnwindSafe for Props
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