2016-05-07 17:29:24 +00:00
|
|
|
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_SETTINGS} from '../lib/constants'
|
|
|
|
|
|
|
|
class SettingsModal extends Component {
|
2016-07-06 20:18:26 +00:00
|
|
|
show() {
|
|
|
|
this.refs.modal.show();
|
|
|
|
}
|
|
|
|
|
|
|
|
toggle() {
|
|
|
|
this.refs.modal.toggle();
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
2016-05-07 17:29:24 +00:00
|
|
|
return (
|
2016-07-06 20:18:26 +00:00
|
|
|
<Modal ref="modal" {...this.props}>
|
2016-05-07 17:29:24 +00:00
|
|
|
<ModalHeader>Settings</ModalHeader>
|
|
|
|
<ModalBody className="pad">
|
|
|
|
<p>Settings</p>
|
|
|
|
</ModalBody>
|
2016-07-06 22:11:37 +00:00
|
|
|
<ModalFooter className="text-right"></ModalFooter>
|
2016-05-07 17:29:24 +00:00
|
|
|
</Modal>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-07-06 20:18:26 +00:00
|
|
|
SettingsModal.propTypes = {};
|
2016-05-07 17:29:24 +00:00
|
|
|
|
|
|
|
SettingsModal.defaultProps = {
|
|
|
|
id: MODAL_SETTINGS
|
|
|
|
};
|
|
|
|
|
|
|
|
export default SettingsModal;
|