/** * WordPress dependencies */ const { __ } = wp.i18n; const { Component } = wp.element; const { PanelBody, Notice, TextControl } = wp.components; class InstanceSettings extends Component { constructor() { super( ...arguments ); } render() { const settings = this.props.chart['visualizer-settings']; return (

{ __( 'These settings are valid only for this instance of the chart.' ) }

{ __( 'This means that if you insert this chart again elsewhere, these values will not persist.' ) }

{ this.props.attributes.lazy = e; this.props.edit( settings ); } } />
); } } export default InstanceSettings;