// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. import React from 'react'; export default class Setting extends React.Component { render() { return (
{this.props.children}
{this.props.helpText}
); } } Setting.defaultProps = { }; Setting.propTypes = { inputId: React.PropTypes.string, label: React.PropTypes.node.isRequired, children: React.PropTypes.node.isRequired, helpText: React.PropTypes.node };