File "InspectorAdvancedControls.js"

Full path: /home/webcknlt/admissiontell.com/wp-content/plugins/generateblocks/src/blocks/query-loop/components/InspectorAdvancedControls.js
File size: 402 B (402 B bytes)
MIME-type: text/x-java
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

import { InspectorAdvancedControls } from '@wordpress/block-editor';
import BlockLabel from '../../../extend/inspector-control/controls/block-label';

export default function( { blockLabel, setAttributes } ) {
	return (
		<InspectorAdvancedControls>
			<BlockLabel
				value={ blockLabel }
				onChange={ ( value ) => setAttributes( { blockLabel: value } ) }
			/>
		</InspectorAdvancedControls>
	);
}