summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_dropdown_button.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-05-17 11:26:22 -0400
committerCorey Hulen <corey@hulen.com>2017-05-17 08:26:22 -0700
commita84a300947e3995945db2789dbf062c2e18c7b8e (patch)
tree56da18952e5e40356ab9260b4c09a9ad7cd20197 /webapp/components/rhs_dropdown_button.jsx
parentf13b2ffbe1c92fce1f031db7ecee2477d0e69621 (diff)
downloadchat-a84a300947e3995945db2789dbf062c2e18c7b8e.tar.gz
chat-a84a300947e3995945db2789dbf062c2e18c7b8e.tar.bz2
chat-a84a300947e3995945db2789dbf062c2e18c7b8e.zip
PLT-6520 Add RhsDropdownButton component to avoid React-Bootstrap warning (#6405)
Diffstat (limited to 'webapp/components/rhs_dropdown_button.jsx')
-rw-r--r--webapp/components/rhs_dropdown_button.jsx20
1 files changed, 20 insertions, 0 deletions
diff --git a/webapp/components/rhs_dropdown_button.jsx b/webapp/components/rhs_dropdown_button.jsx
new file mode 100644
index 000000000..3c325a431
--- /dev/null
+++ b/webapp/components/rhs_dropdown_button.jsx
@@ -0,0 +1,20 @@
+// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+import React, {PropTypes, PureComponent} from 'react';
+
+export default class RhsDropdownButton extends PureComponent {
+ static propTypes = {
+ onClick: PropTypes.func.isRequired
+ }
+
+ render() {
+ return (
+ <a
+ href='#'
+ className='post__dropdown dropdown-toggle'
+ onClick={this.props.onClick}
+ />
+ );
+ }
+}