adjusted remix example

This commit is contained in:
dswbx
2025-02-19 14:12:40 +01:00
parent 335fe42a22
commit f2e5815e24
11 changed files with 300 additions and 128 deletions

View File

@@ -0,0 +1,9 @@
export function Check({ checked = false }: { checked?: boolean }) {
return (
<div
className={`aspect-square w-6 leading-none rounded-full p-px transition-colors cursor-pointer ${checked ? "bg-green-500" : "bg-white/20 hover:bg-white/40"}`}
>
<input type="checkbox" checked={checked} readOnly />
</div>
);
}