text: /**
   * WordPress dependencies
   */
  const { __ } = wp.i18n;
  const { Component, Fragment } = wp.element;
  const { InspectorControls } = wp.blockEditor;
  const { PanelBody, RangeControl } = wp.components;
  
  /**
   * Inspector controls
   */
  class Inspector extends Component {
  	render() {
  		const {
  			attributes,
  			setAttributes,
  		} = this.props;
  
  		const {
  			count,
  		} = attributes;
  
  		return (
  			<Fragment>
  				<InspectorControls>
  					<PanelBody title={ __( 'Pricing Table Settings' ) }>
  						<RangeControl
  							label={ __( 'Tables' ) }
  							value={ count }
  							onChange={ ( nextCount ) => {
  								setAttributes( {
  									count: parseInt( nextCount ),
  								} );
  							} }
  							min={ 1 }
  							max={ 4 }
  						/>
  					</PanelBody>
  				</InspectorControls>
  			</Fragment>
  		);
  	}
  }
  
  export default Inspector;
  