rename components
This commit is contained in:
parent
3e8f484e40
commit
51a917457e
|
@ -55,7 +55,7 @@ export function edit({ className, attributes, setAttributes }) {
|
|||
setOpen(false);
|
||||
};
|
||||
|
||||
const InspectorControlComponent = () => (
|
||||
const InspectorControlsComponent = () => (
|
||||
<InspectorControls>
|
||||
<PanelBody title={__('Icon size', 'room-vw')}>
|
||||
<RangeControl
|
||||
|
@ -99,7 +99,7 @@ export function edit({ className, attributes, setAttributes }) {
|
|||
</InspectorControls>
|
||||
);
|
||||
|
||||
const BlockControlComponent = () => (
|
||||
const BlockControlsComponent = () => (
|
||||
<BlockControls>
|
||||
<Toolbar>
|
||||
<ToolbarButton
|
||||
|
@ -146,8 +146,8 @@ export function edit({ className, attributes, setAttributes }) {
|
|||
|
||||
return (
|
||||
<Fragment>
|
||||
<InspectorControlComponent />
|
||||
<BlockControlComponent />
|
||||
<InspectorControlsComponent />
|
||||
<BlockControlsComponent />
|
||||
|
||||
<RawHTML
|
||||
className={
|
||||
|
|
Loading…
Reference in New Issue