inspector-controls
3 years ago
BlockControls.js
3 years ago
InspectorAdvancedControls.js
2 years ago
InspectorControls.js
3 years ago
LayoutSelector.js
3 years ago
LoopRenderer.js
3 years ago
QueryLoopRenderer.js
2 years ago
utils.js
3 years ago
InspectorAdvancedControls.js
14 lines
| 1 | import { InspectorAdvancedControls } from '@wordpress/block-editor'; |
| 2 | import BlockLabel from '../../../extend/inspector-control/controls/block-label'; |
| 3 | |
| 4 | export default function( { blockLabel, setAttributes } ) { |
| 5 | return ( |
| 6 | <InspectorAdvancedControls> |
| 7 | <BlockLabel |
| 8 | value={ blockLabel } |
| 9 | onChange={ ( value ) => setAttributes( { blockLabel: value } ) } |
| 10 | /> |
| 11 | </InspectorAdvancedControls> |
| 12 | ); |
| 13 | } |
| 14 |