import type { CheckboxProps } from "$/types/InputTypes";
import clsx from "clsx";
import MattrixwvCheckbox from "./MattrixwvCheckbox";


export default function DarkCheckbox({
	className,
	showBox = true,
	...props
}: Readonly<CheckboxProps>){
	return (
		<MattrixwvCheckbox
			className={clsx(
				className,
				{
					"group-data-checked:bg-dark group-data-checked:stroke-light": showBox,
					"group-data-checked:stroke-dark": !showBox
				}
			)}
			showBox={showBox}
			{...props}
		/>
	);
}
