mirror of
https://github.com/adoyle0/thaw.git
synced 2025-03-14 06:29:49 -04:00
15 lines
273 B
Rust
15 lines
273 B
Rust
|
use leptos::*;
|
||
|
use melt_ui::*;
|
||
|
|
||
|
#[component]
|
||
|
pub fn CheckboxPage(cx: Scope) -> impl IntoView {
|
||
|
let checked = create_rw_signal(cx, false);
|
||
|
view! {cx,
|
||
|
<div>
|
||
|
<Checkbox checked>
|
||
|
"Click"
|
||
|
</Checkbox>
|
||
|
</div>
|
||
|
}
|
||
|
}
|