diff --git a/index.html b/index.html index f097b2e..8598fe4 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,12 @@ -
+ + + diff --git a/src/main.rs b/src/main.rs index c0cfc82..2153819 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,37 @@ use leptos::prelude::*; +#[component] +fn ProgressBar( + #[prop(default = 100)] + max: u16, + progress: ReadSignal+ {double_count} +
+"Hello, world!"
}) + leptos::mount::mount_to_body(App) }