diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-05-17 11:26:22 -0400 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2017-05-17 08:26:22 -0700 |
commit | a84a300947e3995945db2789dbf062c2e18c7b8e (patch) | |
tree | 56da18952e5e40356ab9260b4c09a9ad7cd20197 /webapp/components/rhs_dropdown_button.jsx | |
parent | f13b2ffbe1c92fce1f031db7ecee2477d0e69621 (diff) | |
download | chat-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.jsx | 20 |
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} + /> + ); + } +} |