From 47f92441aced1e2dd6e85fc18f27330d88e07593 Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Thu, 8 Sep 2016 08:48:53 -0400
Subject: PLT-4100 Made SuggestionList dividers optional (#3990)

* Made SuggestionList dividers optional

* Stopped mutating the User object in the AtMentionProvider
---
 webapp/components/suggestion/suggestion_box.jsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'webapp/components/suggestion/suggestion_box.jsx')

diff --git a/webapp/components/suggestion/suggestion_box.jsx b/webapp/components/suggestion/suggestion_box.jsx
index d4b150787..d74038ead 100644
--- a/webapp/components/suggestion/suggestion_box.jsx
+++ b/webapp/components/suggestion/suggestion_box.jsx
@@ -189,6 +189,7 @@ export default class SuggestionBox extends React.Component {
                 <SuggestionListComponent
                     suggestionId={this.suggestionId}
                     location={this.props.listStyle}
+                    renderDividers={this.props.renderDividers}
                 />
             </div>
         );
@@ -220,6 +221,7 @@ SuggestionBox.propTypes = {
     value: React.PropTypes.string.isRequired,
     providers: React.PropTypes.arrayOf(React.PropTypes.object),
     listStyle: React.PropTypes.string,
+    renderDividers: React.PropTypes.bool,
 
     // explicitly name any input event handlers we override and need to manually call
     onInput: React.PropTypes.func,
-- 
cgit v1.2.3-1-g7c22

