/** * External dependencies */ import { __ } from '@wordpress/i18n'; import { BaseControl, PanelBody, TextControl, ToggleControl } from '@wordpress/components'; import { Fragment } from '@wordpress/element'; import { InspectorControls } from '@wordpress/editor'; import { withInstanceId } from '@wordpress/compose'; /** * Internal dependencies */ import JetpackFieldLabel from './jetpack-field-label'; const JetpackFieldCheckbox = ( { instanceId, required, label, setAttributes, isSelected, defaultValue, id, } ) => { return ( setAttributes( { defaultValue: value } ) } /> setAttributes( { id: value } ) } /> } /> ); }; export default withInstanceId( JetpackFieldCheckbox );