forked from oxen-io/session-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch react-mentions types with custom one
this can be reverted once signavio/react-mentions#449 is merged upstream, as the DefinitelyTyped types will be regenerated
- Loading branch information
Showing
3 changed files
with
118 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
diff --git a/node_modules/@types/react-mentions/README.md b/node_modules/@types/react-mentions/README.md | ||
deleted file mode 100644 | ||
index 8f5cd37..0000000 | ||
--- a/node_modules/@types/react-mentions/README.md | ||
+++ /dev/null | ||
@@ -1,16 +0,0 @@ | ||
-# Installation | ||
-> `npm install --save @types/react-mentions` | ||
- | ||
-# Summary | ||
-This package contains type definitions for react-mentions (https://github.com/signavio/react-mentions). | ||
- | ||
-# Details | ||
-Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-mentions. | ||
- | ||
-### Additional Details | ||
- * Last updated: Wed, 28 Oct 2020 03:29:22 GMT | ||
- * Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
- * Global values: none | ||
- | ||
-# Credits | ||
-These definitions were written by [Scott Willeke](https://github.com/activescott), and [Eugene Fedorenko](https://github.com/efedorenko). | ||
diff --git a/node_modules/@types/react-mentions/index.d.ts b/node_modules/@types/react-mentions/index.d.ts | ||
index 70256dd..bbba5cb 100644 | ||
--- a/node_modules/@types/react-mentions/index.d.ts | ||
+++ b/node_modules/@types/react-mentions/index.d.ts | ||
@@ -33,6 +33,7 @@ export interface MentionsInputProps extends Omit<React.TextareaHTMLAttributes<HT | ||
*/ | ||
allowSpaceInQuery?: boolean; | ||
allowSuggestionsAboveCursor?: boolean; | ||
+ forceSuggestionsAboveCursor?: boolean; | ||
ignoreAccents?: boolean; | ||
value?: string; | ||
onChange?: OnChangeHandlerFunc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters