// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved. // See License.txt for license information. export default class SettingItemMax extends React.Component { render() { var clientError = null; if (this.props.client_error) { clientError = (
); } var serverError = null; if (this.props.server_error) { serverError = (
); } var extraInfo = null; if (this.props.extraInfo) { extraInfo = (
{this.props.extraInfo}
); } var submit = ''; if (this.props.submit) { submit = ( Submit ); } var inputs = this.props.inputs; return ( ); } } SettingItemMax.propTypes = { inputs: React.PropTypes.array, client_error: React.PropTypes.string, server_error: React.PropTypes.string, extraInfo: React.PropTypes.element, updateSection: React.PropTypes.func, submit: React.PropTypes.func, title: React.PropTypes.string };