From e6ee5f44d82f7f2b87d6f3719e97fa9e2bfd0813 Mon Sep 17 00:00:00 2001 From: shindigira Date: Fri, 2 Feb 2024 14:14:44 -0500 Subject: [PATCH 1/2] fix: spread properties to the actual checkbox element --- src/components/Checkbox/Checkbox.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Checkbox/Checkbox.tsx b/src/components/Checkbox/Checkbox.tsx index 727108a8..d2b2ca8d 100644 --- a/src/components/Checkbox/Checkbox.tsx +++ b/src/components/Checkbox/Checkbox.tsx @@ -38,7 +38,7 @@ export interface CheckboxProperties { /** An event handler function that will be called when the checkbox's value is changed */ onChange?: (event: ChangeEvent) => void; /** Border status */ - status: 'success' | 'warning' | 'error'; + status: 'error' | 'success' | 'warning'; } const containerBaseStyles = ['m-form-field m-form-field__checkbox']; @@ -84,7 +84,6 @@ export const Checkbox = ({