diff --git a/packages/smarthr-ui/src/components/CheckBox/CheckBox.tsx b/packages/smarthr-ui/src/components/CheckBox/CheckBox.tsx index c003797e40..7411626340 100644 --- a/packages/smarthr-ui/src/components/CheckBox/CheckBox.tsx +++ b/packages/smarthr-ui/src/components/CheckBox/CheckBox.tsx @@ -65,7 +65,7 @@ const checkbox = tv({ }) export const CheckBox = forwardRef( - ({ checked, mixed, error, onChange, className, children, ...props }, ref) => { + ({ checked, mixed, error, onChange, className, children, disabled, ...props }, ref) => { const styles = useMemo(() => { const { wrapper, innerWrapper, box, input, iconWrap, icon, label } = checkbox() @@ -97,18 +97,19 @@ export const CheckBox = forwardRef( const checkBoxId = props.id || defaultId return ( - +