patternfly-yew 0.7.4

PatternFly 5 components for Yew
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::{ProgressStepperStep, ProgressStepperStepProperties};
use std::rc::Rc;
use yew::BaseComponent;

#[derive(Clone, PartialEq)]
pub enum ProgressStepperChild {
    Step(Rc<<ProgressStepperStep as BaseComponent>::Properties>),
}

impl From<ProgressStepperStepProperties> for ProgressStepperChild {
    fn from(props: ProgressStepperStepProperties) -> Self {
        ProgressStepperChild::Step(Rc::new(props))
    }
}