File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed
Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -537,6 +537,7 @@ export const Mention = React.memo(
537537 style : props . inputStyle ,
538538 ...inputProps ,
539539 unstyled : props . unstyled ,
540+ variant : props . variant ,
540541 autoResize : props . autoResize ,
541542 onFocus : onFocus ,
542543 onBlur : onBlur ,
Original file line number Diff line number Diff line change @@ -76,13 +76,6 @@ export const MentionBase = ComponentBase.extend({
7676 inputRef : null ,
7777 inputStyle : null ,
7878 itemTemplate : null ,
79- panelClassName : null ,
80- panelStyle : null ,
81- scrollHeight : '200px' ,
82- style : null ,
83- suggestions : null ,
84- transitionOptions : null ,
85- trigger : '@' ,
8679 onBlur : null ,
8780 onChange : null ,
8881 onFocus : null ,
@@ -91,6 +84,14 @@ export const MentionBase = ComponentBase.extend({
9184 onSearch : null ,
9285 onSelect : null ,
9386 onShow : null ,
87+ panelClassName : null ,
88+ panelStyle : null ,
89+ scrollHeight : '200px' ,
90+ style : null ,
91+ suggestions : null ,
92+ transitionOptions : null ,
93+ trigger : '@' ,
94+ variant : null ,
9495 children : undefined
9596 } ,
9697 css : {
Original file line number Diff line number Diff line change @@ -234,6 +234,11 @@ export interface MentionProps extends Omit<React.DetailedHTMLProps<React.Textare
234234 * @defaultValue "@"
235235 */
236236 trigger ?: string | string [ ] | undefined ;
237+ /**
238+ * Specifies the input variant of the component.
239+ * @defaultValue outlined
240+ */
241+ variant ?: 'outlined' | 'filled' | undefined ;
237242 /**
238243 * Uses to pass attributes to DOM elements inside the component.
239244 * @type {MentionPassThroughOptions }
You can’t perform that action at this time.
0 commit comments