pub struct EuvPanelProps {
pub title: &'static str,
pub subtitle: &'static str,
pub variant: EuvPanelVariant,
}Expand description
Props for the euv_panel component.
Defines the strongly-typed interface for the bordered section container.
A panel is a superset of EuvCardProps: it adds a subtitle and a border
variant. Children are the panel body, so a footer is passed as trailing
children rather than as a prop.
Fields§
§title: &'static strThe panel title rendered in the header.
subtitle: &'static strThe optional subtitle rendered under the title. Skipped when empty.
variant: EuvPanelVariantThe border treatment of the panel.
Trait Implementations§
Source§impl Clone for EuvPanelProps
impl Clone for EuvPanelProps
Source§impl Debug for EuvPanelProps
impl Debug for EuvPanelProps
Auto Trait Implementations§
impl Freeze for EuvPanelProps
impl RefUnwindSafe for EuvPanelProps
impl Send for EuvPanelProps
impl Sync for EuvPanelProps
impl Unpin for EuvPanelProps
impl UnsafeUnpin for EuvPanelProps
impl UnwindSafe for EuvPanelProps
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