// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. import SettingItemMin from '../setting_item_min.jsx'; import SettingItemMax from '../setting_item_max.jsx'; import * as EventHelpers from '../../dispatcher/event_helpers.jsx'; export default class DeveloperTab extends React.Component { constructor(props) { super(props); this.register = this.register.bind(this); this.state = {}; } register() { this.props.closeModal(); EventHelpers.showRegisterAppModal(); } render() { var appSection; var self = this; if (this.props.activeSection === 'app') { var inputs = []; inputs.push(
{'Register New Application'}
); appSection = ( ); } else { appSection = ( ); } return (

{'Developer Settings'}

{'Developer Settings'}

{appSection}
); } } DeveloperTab.defaultProps = { activeSection: '' }; DeveloperTab.propTypes = { activeSection: React.PropTypes.string, updateSection: React.PropTypes.func, closeModal: React.PropTypes.func.isRequired, collapseModal: React.PropTypes.func.isRequired };