Update checkboxes
This commit is contained in:
@@ -6,7 +6,7 @@ import MattrixwvCheckbox from "./MattrixwvCheckbox";
|
||||
|
||||
const SecondaryCheckbox = forwardRef<HTMLInputElement, CheckboxProps>(({
|
||||
className,
|
||||
box = true,
|
||||
showBox = true,
|
||||
...props
|
||||
}, ref) => {
|
||||
return (
|
||||
@@ -14,11 +14,11 @@ const SecondaryCheckbox = forwardRef<HTMLInputElement, CheckboxProps>(({
|
||||
className={clsx(
|
||||
className,
|
||||
{
|
||||
"group-data-checked:bg-secondary group-data-checked:stroke-white": box,
|
||||
"group-data-checked:stroke-secondary": !box
|
||||
"group-data-checked:bg-secondary group-data-checked:stroke-white": showBox,
|
||||
"group-data-checked:stroke-secondary": !showBox
|
||||
}
|
||||
)}
|
||||
box={box}
|
||||
showBox={showBox}
|
||||
{...props}
|
||||
ref={ref}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user