mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 16:46:00 +00:00
adjusted remix example
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user