diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-09-06 23:04:13 -0700 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-09-06 23:11:58 -0700 |
commit | d8bd57901e33a7057e26e782e295099ffcc0da89 (patch) | |
tree | e12dfc8cad42b1576756d19d7fbfd82646a009bf /webapp/components/admin_console/settings_group.jsx | |
parent | 7bc8e9a08dfde56387f946fdf5086252aa4d0491 (diff) | |
download | chat-d8bd57901e33a7057e26e782e295099ffcc0da89.tar.gz chat-d8bd57901e33a7057e26e782e295099ffcc0da89.tar.bz2 chat-d8bd57901e33a7057e26e782e295099ffcc0da89.zip |
Removing webapp
Diffstat (limited to 'webapp/components/admin_console/settings_group.jsx')
-rw-r--r-- | webapp/components/admin_console/settings_group.jsx | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/webapp/components/admin_console/settings_group.jsx b/webapp/components/admin_console/settings_group.jsx deleted file mode 100644 index 79f8dac97..000000000 --- a/webapp/components/admin_console/settings_group.jsx +++ /dev/null @@ -1,44 +0,0 @@ -import PropTypes from 'prop-types'; - -// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -import React from 'react'; - -export default class SettingsGroup extends React.Component { - static get propTypes() { - return { - show: PropTypes.bool.isRequired, - header: PropTypes.node, - children: PropTypes.node - }; - } - - static get defaultProps() { - return { - show: true - }; - } - - render() { - if (!this.props.show) { - return null; - } - - let header = null; - if (this.props.header) { - header = ( - <h4> - {this.props.header} - </h4> - ); - } - - return ( - <div className='admin-settings__group'> - {header} - {this.props.children} - </div> - ); - } -} |