Skip to content

Commit

Permalink
fix: classNames type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
MadCcc committed Dec 18, 2023
1 parent e3f5ead commit ebf9f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mentions.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import classNames from 'classnames';
import { BaseInput } from 'rc-input';
import type { CommonInputProps } from 'rc-input/lib/interface';
import type { TextAreaProps, TextAreaRef } from 'rc-textarea';
import TextArea from 'rc-textarea';
import toArray from 'rc-util/lib/Children/toArray';
Expand Down Expand Up @@ -59,9 +60,8 @@ export interface MentionsProps extends BaseTextareaAttrs {
open?: boolean;
children?: React.ReactNode;
options?: DataDrivenOptionProps[];
classNames?: {
classNames?: CommonInputProps['classNames'] & {
mentions?: string;
affixWrapper?: string;
};
}

Expand Down

0 comments on commit ebf9f5c

Please sign in to comment.