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


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