From e3234ac1f89c0ec9150aef126c08c7c9ab101c28 Mon Sep 17 00:00:00 2001 From: Yimura <24669514+Yimura@users.noreply.github.com> Date: Fri, 22 Aug 2025 20:06:02 +0200 Subject: [PATCH] fix: Selectively show custom checkbox component Fixes #123 Signed-off-by: Andreas Maerten <24669514+Yimura@users.noreply.github.com> --- src/components/CheckBox/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CheckBox/index.tsx b/src/components/CheckBox/index.tsx index 58cc14a..823f197 100644 --- a/src/components/CheckBox/index.tsx +++ b/src/components/CheckBox/index.tsx @@ -49,7 +49,7 @@ const CheckBox = ({ style={[styles.checkbox, checkboxStyle, fillColor]} aria-checked={value} > - {checkboxComponent || ( + {(value && checkboxComponent) || ( {value ? (