mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[@types/react-mentions] add classNames prop (#35995)
In order to use css module, we need to use a prop `classNames` which is missing here. See the doc: https://github.com/signavio/react-mentions#styling
This commit is contained in:
parent
b3cf16f4e0
commit
cb3f27d091
1
types/react-mentions/index.d.ts
vendored
1
types/react-mentions/index.d.ts
vendored
@ -40,6 +40,7 @@ export interface MentionsInputProps extends Omit<React.TextareaHTMLAttributes<HT
|
||||
onKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement> | React.KeyboardEvent<HTMLInputElement>) => void;
|
||||
children: React.ReactElement<MentionProps> | Array<React.ReactElement<MentionProps>>;
|
||||
className?: string;
|
||||
classNames?: any;
|
||||
style?: any;
|
||||
suggestionsPortalHost?: Element;
|
||||
inputRef?: React.RefObject<HTMLTextAreaElement> | React.RefObject<HTMLInputElement>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user