zu/timeline_separator/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_default]
10 pub children: Children,
11
12 #[prop_or_default]
13 pub classes: Classes,
14
15 #[prop_or_default]
16 pub style: AttrValue,
17}
18
19#[function_component(TimelineSeparator)]
20pub fn timeline_separator(_props: &Props) -> Html {
21 html! {
22 <>
23 </>
24 }
25}