From 60d79fb2293a95a42384384af3b2f271f78fd738 Mon Sep 17 00:00:00 2001 From: Micael Rodrigues Date: Tue, 12 Mar 2024 18:27:29 +0000 Subject: [PATCH] fix: pass checkbox attributes to input --- packages/yoga/src/Checkbox/web/Checkbox.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/yoga/src/Checkbox/web/Checkbox.jsx b/packages/yoga/src/Checkbox/web/Checkbox.jsx index 06bf49ba0a..9566fcad8f 100644 --- a/packages/yoga/src/Checkbox/web/Checkbox.jsx +++ b/packages/yoga/src/Checkbox/web/Checkbox.jsx @@ -295,6 +295,7 @@ const Checkbox = ({ checked={checked} disabled={disabled} {...(value ? { value } : {})} + {...restWithoutEvents} onChange={onChange} onClick={onClick} />