import clsx from 'clsx' export function Checkbox(props: { label: string checked: boolean toggle: (checked: boolean) => void className?: string disabled?: boolean }) { const { label, checked, toggle, className, disabled } = props return (
toggle(!e.target.checked)} disabled={disabled} />
) }