pub struct IconLinkProps {
pub variant: IconLinkVariant,
pub href: Option<AttrValue>,
pub children: Children,
pub class: Option<AttrValue>,
pub onclick: Option<Callback<MouseEvent>>,
pub aria_label: Option<AttrValue>,
}Expand description
Props for the IconLink component
Fields§
§variant: IconLinkVariantThe icon link variant/color
href: Option<AttrValue>The link href
children: ChildrenThe link text/content
class: Option<AttrValue>Additional CSS classes to apply
onclick: Option<Callback<MouseEvent>>Click callback
aria_label: Option<AttrValue>Aria label for accessibility
Trait Implementations§
Source§impl PartialEq for IconLinkProps
impl PartialEq for IconLinkProps
Source§impl Properties for IconLinkProps
impl Properties for IconLinkProps
impl StructuralPartialEq for IconLinkProps
Auto Trait Implementations§
impl Freeze for IconLinkProps
impl !RefUnwindSafe for IconLinkProps
impl !Send for IconLinkProps
impl !Sync for IconLinkProps
impl Unpin for IconLinkProps
impl !UnwindSafe for IconLinkProps
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.