diff options
Diffstat (limited to 'webapp/components/admin_console/setting.jsx')
-rw-r--r-- | webapp/components/admin_console/setting.jsx | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/webapp/components/admin_console/setting.jsx b/webapp/components/admin_console/setting.jsx deleted file mode 100644 index 9ef6554ac..000000000 --- a/webapp/components/admin_console/setting.jsx +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -import React, {PureComponent} from 'react'; -import PropTypes from 'prop-types'; - -export default class Settings extends PureComponent { - static propTypes = { - inputId: PropTypes.string, - label: PropTypes.node.isRequired, - children: PropTypes.node.isRequired, - helpText: PropTypes.node - }; - - render() { - const {children, helpText, inputId, label} = this.props; - - return ( - <div className='form-group'> - <label - className='control-label col-sm-4' - htmlFor={inputId} - > - {label} - </label> - <div className='col-sm-8'> - {children} - <div className='help-text'> - {helpText} - </div> - </div> - </div> - ); - } -} |