import React, {PropTypes, PureComponent} from 'react'; import KeyValueEditor from '../../keyvalueeditor/Editor'; import {trackEvent} from '../../../../analytics/index'; class UrlEncodedEditor extends PureComponent { _handleTrackToggle = pair => { trackEvent('Url Encoded Editor', 'Toggle', pair.disabled ? 'Disable' : 'Enable') }; _handleTrackCreate = () => trackEvent('Url Encoded Editor', 'Create'); _handleTrackDelete = () => trackEvent('Url Encoded Editor', 'Delete'); render () { const {parameters, onChange, handleRender} = this.props; return (