From 12896bd23eeba79884245c1c29fdc568cf21a7fa Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Mon, 14 Mar 2016 08:50:46 -0400 Subject: Converting to Webpack. Stage 1. --- webapp/components/setting_item_min.jsx | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 webapp/components/setting_item_min.jsx (limited to 'webapp/components/setting_item_min.jsx') diff --git a/webapp/components/setting_item_min.jsx b/webapp/components/setting_item_min.jsx new file mode 100644 index 000000000..a46a9e455 --- /dev/null +++ b/webapp/components/setting_item_min.jsx @@ -0,0 +1,47 @@ +// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. +// See License.txt for license information. + +import {FormattedMessage} from 'react-intl'; + +import React from 'react'; + +export default class SettingItemMin extends React.Component { + render() { + let editButton = null; + if (!this.props.disableOpen) { + editButton = ( +
  • + + + + +
  • + ); + } + + return ( + + ); + } +} + +SettingItemMin.propTypes = { + title: React.PropTypes.node, + disableOpen: React.PropTypes.bool, + updateSection: React.PropTypes.func, + describe: React.PropTypes.node +}; -- cgit v1.2.3-1-g7c22