Merge pull request #269 from JeevaRamanathan/checkbox_issue
fix: Checkbox tick visible on both modes
This commit is contained in:
commit
37a674dced
|
|
@ -42,8 +42,22 @@ export const Checkbox = forwardRef<null, {
|
|||
)}
|
||||
>
|
||||
{currentStatus && (
|
||||
<Image src="/form/checked.svg" alt="Checked" width={20} height={20} />
|
||||
)}
|
||||
<div>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
width="20"
|
||||
height="20"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
strokeWidth="2"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
>
|
||||
<polyline points="20 6 9 17 4 12"></polyline>
|
||||
</svg>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue