zu/step/
mod.rs

1// Copyright (c) 2024 Xu Shaohua <shaohua@biofan.org>. All rights reserved.
2// Use of this source is governed by Lesser General Public License
3// that can be found in the LICENSE file.
4
5use yew::{function_component, html, AttrValue, Children, Classes, Html, Properties};
6
7#[derive(Debug, Clone, PartialEq, Properties)]
8pub struct Props {
9    #[prop_or(false)]
10    pub active: bool,
11
12    #[prop_or_default]
13    pub children: Children,
14
15    #[prop_or_default]
16    pub classes: Classes,
17
18    #[prop_or(false)]
19    pub completed: bool,
20
21    #[prop_or_default]
22    pub component: AttrValue,
23
24    #[prop_or(false)]
25    pub disabled: bool,
26
27    #[prop_or(false)]
28    pub expanded: bool,
29
30    #[prop_or_default]
31    pub index: i32,
32
33    #[prop_or(false)]
34    pub last: bool,
35
36    #[prop_or_default]
37    pub style: AttrValue,
38}
39
40#[function_component(Step)]
41pub fn step(_props: &Props) -> Html {
42    html! {
43        <>
44        </>
45    }
46}