import React, {Component, PropTypes} from 'react' import Modal from '../base/Modal' import ModalBody from '../base/ModalBody' import ModalHeader from '../base/ModalHeader' import ModalFooter from '../base/ModalFooter' import Editor from '../base/Editor' import KeyValueEditor from '../base/KeyValueEditor' import * as modalIds from '../../constants/modals' class RequestGroupEnvironmentEditModal extends Component { constructor (props) { super(props); this.state = { pairs: [] } } _saveChanges () { this.props.onChange(this.state.pairs); } _keyValueChange (pairs) { this.setState({pairs}); } render () { const editorOptions = { mode: 'application/json', placeholder: '{ "array": [1, 2, 3, 4] }', theme: 'neat' }; return ( Environment Variables
{/*

Hello

*/}
); } } RequestGroupEnvironmentEditModal.propTypes = { // requestGroup: PropTypes.object.isRequired, onChange: PropTypes.func.isRequired }; RequestGroupEnvironmentEditModal.defaultProps = { id: modalIds.ENVIRONMENT_EDITOR }; export default RequestGroupEnvironmentEditModal;