pub struct ProgressProps {
pub children: Children,
pub value: Option<u8>,
pub variant: Option<Variant>,
pub animation: Option<ProgressAnimation>,
pub striped: bool,
pub animated: bool,
pub height: Option<AttrValue>,
pub class: Option<AttrValue>,
pub aria_label: Option<AttrValue>,
}Expand description
Props for the Progress component
Fields§
§children: ChildrenProgress bars (can be multiple for stacked progress)
value: Option<u8>Progress value (0-100) - for single bar convenience
variant: Option<Variant>Progress variant - for single bar convenience
animation: Option<ProgressAnimation>Animation type - for single bar convenience
striped: boolWhether progress bars are striped - for single bar convenience
animated: boolWhether progress bars are animated - for single bar convenience
height: Option<AttrValue>Progress height (e.g., “1rem”, “20px”)
class: Option<AttrValue>Additional CSS classes
aria_label: Option<AttrValue>ARIA label for the progress container
Trait Implementations§
Source§impl PartialEq for ProgressProps
impl PartialEq for ProgressProps
Source§impl Properties for ProgressProps
impl Properties for ProgressProps
impl StructuralPartialEq for ProgressProps
Auto Trait Implementations§
impl Freeze for ProgressProps
impl !RefUnwindSafe for ProgressProps
impl !Send for ProgressProps
impl !Sync for ProgressProps
impl Unpin for ProgressProps
impl !UnwindSafe for ProgressProps
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.