import type { ButtonHTMLAttributes } from "react";
import { cn } from "./cn.js";
export interface CheckerProps extends Omit, "onChange"> {
checked: boolean;
label: string;
/** Helper copy belongs outside the control, immediately before it. */
description?: never;
onChange: (checked: boolean) => void;
}
type IsNever = [Value] extends [never] ? true : false;
type Assert = Value;
type _CheckerDescriptionMustStayForbidden = Assert>>;
export function Checker({
checked,
label,
description: _unsupportedDescription,
onChange,
disabled,
className,
type = "button",
...props
}: CheckerProps) {
return (
);
}