fixed the dropdown

This commit is contained in:
daniel31x13
2023-10-28 12:50:11 -04:00
parent db47a2a142
commit 2856e23a4a
11 changed files with 120 additions and 46 deletions
+3 -1
View File
@@ -11,7 +11,9 @@ type Props = {
export default function Checkbox({ label, state, className, onClick }: Props) {
return (
<label className={`cursor-pointer flex items-center gap-2 ${className}`}>
<label
className={`cursor-pointer flex items-center gap-2 ${className || ""}`}
>
<input
type="checkbox"
checked={state}