diff --git a/components/checkbox-control/index.js b/components/checkbox-control/index.js index c231143f4f88c..4344db2cacf84 100644 --- a/components/checkbox-control/index.js +++ b/components/checkbox-control/index.js @@ -5,12 +5,12 @@ import BaseControl from '../base-control'; import withInstanceId from '../higher-order/with-instance-id'; import './style.scss'; -function CheckboxControl( { label, heading, checked, help, instanceId, onChange, ...props } ) { +function CheckboxControl( { label, className, heading, checked, help, instanceId, onChange, ...props } ) { const id = `inspector-checkbox-control-${ instanceId }`; const onChangeValue = ( event ) => onChange( event.target.checked ); return ( - + onChange( event.target.value ); return ! isEmpty( options ) && ( - + { options.map( ( option, index ) =>
+