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