chore: pc change

This commit is contained in:
alphafetus committed 2025-08-26 09:57:58 -04:00
1 parent 21ba5e45ff
commit f7ca1ecbc5
27 files changed
+926 -262

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
use leptos::prelude::*;
#[component]
pub fn Checkbox(
#[prop()] checked: ReadSignal<bool>,
#[prop()] on_change: Callback<bool>,
#[prop()] label: String,
#[prop()] id: String
) -> impl IntoView {
let label_id = id.clone();
view! {
<label for=label_id>
<input
type="checkbox"
id={id}
/>
</label>
}
}