We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3f5ead commit 097b12cCopy full SHA for 097b12c
src/Mentions.tsx
@@ -1,5 +1,6 @@
1
import classNames from 'classnames';
2
import { BaseInput } from 'rc-input';
3
+import type { CommonInputProps } from 'rc-input/lib/interface';
4
import type { TextAreaProps, TextAreaRef } from 'rc-textarea';
5
import TextArea from 'rc-textarea';
6
import toArray from 'rc-util/lib/Children/toArray';
@@ -59,9 +60,8 @@ export interface MentionsProps extends BaseTextareaAttrs {
59
60
open?: boolean;
61
children?: React.ReactNode;
62
options?: DataDrivenOptionProps[];
- classNames?: {
63
+ classNames?: CommonInputProps['classNames'] & {
64
mentions?: string;
- affixWrapper?: string;
65
};
66
}
67
0 commit comments