pub struct EuvIconProps {
pub name: &'static str,
pub label: &'static str,
pub size: EuvIconSize,
}Expand description
Props for the euv_icon component.
Defines the strongly-typed interface for a monochrome glyph wrapper. The
name prop carries the glyph itself (an emoji or a text symbol) — the
design system has no icon font and no coloured icon set.
Fields§
§name: &'static strThe glyph text rendered as the icon content.
label: &'static strThe accessible label. When empty the icon is treated as decorative.
size: EuvIconSizeThe size of the glyph.
Trait Implementations§
Source§impl Clone for EuvIconProps
impl Clone for EuvIconProps
Source§impl Debug for EuvIconProps
impl Debug for EuvIconProps
Auto Trait Implementations§
impl Freeze for EuvIconProps
impl RefUnwindSafe for EuvIconProps
impl Send for EuvIconProps
impl Sync for EuvIconProps
impl Unpin for EuvIconProps
impl UnsafeUnpin for EuvIconProps
impl UnwindSafe for EuvIconProps
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