From 4a9766c8fa55291016d6c0a88683b8073aac9f1d Mon Sep 17 00:00:00 2001 From: Julian Kobrynski Date: Fri, 17 Nov 2023 09:17:29 +0100 Subject: [PATCH] remove unnecessary default values --- src/components/Checkbox.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Checkbox.tsx b/src/components/Checkbox.tsx index 653bbf814853..6ee5ed1c558f 100644 --- a/src/components/Checkbox.tsx +++ b/src/components/Checkbox.tsx @@ -49,10 +49,10 @@ function Checkbox( isChecked = false, hasError = false, disabled = false, - style = [], - containerStyle = [], + style, + containerStyle, children = null, - onMouseDown = undefined, + onMouseDown, containerSize = 20, containerBorderRadius = 4, caretSize = 14,