File tree Expand file tree Collapse file tree 5 files changed +8
-1
lines changed
src/components/MessageInput Expand file tree Collapse file tree 5 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ const MessageInput = (props) => {
99MessageInput . defaultProps = {
1010 focus : false ,
1111 disabled : false ,
12- disableMentions : false ,
1312 publishTypingEvent : true ,
1413 grow : true ,
1514 maxRows : 10 ,
Original file line number Diff line number Diff line change @@ -117,6 +117,8 @@ MessageInputFlat.propTypes = {
117117 maxRows : PropTypes . number . isRequired ,
118118 /** Make the textarea disabled */
119119 disabled : PropTypes . bool ,
120+ /** Disable mentions in textarea */
121+ disableMentions : PropTypes . bool ,
120122 /** enable/disable firing the typing event */
121123 publishTypingEvent : PropTypes . bool ,
122124 /**
Original file line number Diff line number Diff line change @@ -162,6 +162,8 @@ MessageInputLarge.propTypes = {
162162 maxRows : PropTypes . number . isRequired ,
163163 /** Make the textarea disabled */
164164 disabled : PropTypes . bool ,
165+ /** Disable mentions in textarea */
166+ disableMentions : PropTypes . bool ,
165167 /** enable/disable firing the typing event */
166168 publishTypingEvent : PropTypes . bool ,
167169 /**
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ MessageInputSimple.propTypes = {
7373 maxRows : PropTypes . number . isRequired ,
7474 /** Make the textarea disabled */
7575 disabled : PropTypes . bool ,
76+ /** Disable mentions in textarea */
77+ disableMentions : PropTypes . bool ,
7678 /** enable/disable firing the typing event */
7779 publishTypingEvent : PropTypes . bool ,
7880 /**
Original file line number Diff line number Diff line change @@ -118,6 +118,8 @@ MessageInputSmall.propTypes = {
118118 maxRows : PropTypes . number . isRequired ,
119119 /** Make the textarea disabled */
120120 disabled : PropTypes . bool ,
121+ /** Disable mentions in textarea */
122+ disableMentions : PropTypes . bool ,
121123 /** enable/disable firing the typing event */
122124 publishTypingEvent : PropTypes . bool ,
123125 /**
You can’t perform that action at this time.
0 commit comments