const { __ } = wp.i18n; // Import __() from wp.i18n const { Component } = wp.element; const { serverSideRender: ServerSideRender } = wp; const { InspectorControls, PanelColorSettings } = wp.editor; const { RangeControl, CheckboxControl, PanelBody, SelectControl, TextControl } = wp.components; import { InspectorContainer } from '../commonComponents/container/container'; /** * The edit function describes the structure of your block in the context of the editor. * This represents what the editor will render when the block is used. * * The "edit" property must be a valid function. * @param {Object} props - attributes * @returns {Node} rendered component */ export default class Edit extends Component { render() { const { className, attributes, setAttributes, } = this.props; return (