rename components

This commit is contained in:
Ray Elliott 2020-08-15 12:57:26 +01:00
parent 3e8f484e40
commit 51a917457e
1 changed files with 4 additions and 4 deletions

View File

@ -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={