insomnia/app/components/RequestSwitcherModal.js
Gregory Schier f90e4d7419 Started on hotkeys (#19)
* Started on hotkeys

* Tweaks

* Changed tab color

* Persist sidebarWidth to workspace

* Tweaks

* Switched to Mousetrap
2016-07-06 13:18:26 -07:00

35 lines
808 B
JavaScript

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 {MODAL_REQUEST_SWITCHER} from '../lib/constants'
class RequestSwitcherModal extends Component {
toggle() {
this.refs.modal.toggle();
}
render() {
return (
<Modal ref="modal" {...this.props}>
<ModalHeader>Switch Request</ModalHeader>
<ModalBody className="pad">
<p>DO IT</p>
</ModalBody>
<ModalFooter className="text-right">
</ModalFooter>
</Modal>
);
}
}
RequestSwitcherModal.propTypes = {};
RequestSwitcherModal.defaultProps = {
id: MODAL_REQUEST_SWITCHER
};
export default RequestSwitcherModal;