summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_dropdown_menu.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/rhs_dropdown_menu.jsx')
-rw-r--r--webapp/components/rhs_dropdown_menu.jsx22
1 files changed, 22 insertions, 0 deletions
diff --git a/webapp/components/rhs_dropdown_menu.jsx b/webapp/components/rhs_dropdown_menu.jsx
new file mode 100644
index 000000000..6efaa9dea
--- /dev/null
+++ b/webapp/components/rhs_dropdown_menu.jsx
@@ -0,0 +1,22 @@
+// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+import {Dropdown} from 'react-bootstrap';
+import React from 'react';
+
+export default class RhsDropdownMenu extends Dropdown.Menu {
+ constructor(props) { //eslint-disable-line no-useless-constructor
+ super(props);
+ }
+
+ render() {
+ return (
+ <div
+ className='dropdown-menu__content'
+ onClick={this.props.onClose}
+ >
+ {super.render()}
+ </div>
+ );
+ }
+}