Update checkboxes

This commit is contained in:
2026-02-14 16:40:57 -05:00
parent f224f3fa2c
commit 6c86fdd58b
11 changed files with 33 additions and 99 deletions

View File

@@ -1,14 +1,13 @@
import type { CheckboxProps } from "$/types/InputTypes";
import clsx from "clsx";
import { forwardRef } from "react";
import MattrixwvCheckbox from "./MattrixwvCheckbox";
const MoltenCheckbox = forwardRef<HTMLInputElement, CheckboxProps>(({
export default function MoltenCheckbox({
className,
showBox = true,
...props
}, ref) => {
}: Readonly<CheckboxProps>){
return (
<MattrixwvCheckbox
className={clsx(
@@ -19,12 +18,7 @@ const MoltenCheckbox = forwardRef<HTMLInputElement, CheckboxProps>(({
}
)}
showBox={showBox}
ref={ref}
{...props}
/>
);
});
MoltenCheckbox.displayName = "MoltenCheckbox";
export default MoltenCheckbox;
}