-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: remove unnecessary react-native dev dependency
Add `onMentionsChange` property to the `MentionInput` component. It allows to render suggestions outside `MentionInput` component — #65, #69, #75. Fix double trigger of suggestions render. Now we are trigger this only after selection change — #55. Format `utils.ts` using prettier. BREAKING CHANGES Remove `containerStyle` prop from the `MentionInput` component. Remove `inputRef` prop from the `MentionInput` component. Use traditional `ref` now. Remove `renderSuggestions` and `isBottomMentionSuggestionsRender` from the Part type. Rename `MentionSuggestionsProps` type to `SuggestionsProvidedProps`. Rename `onSuggestionPress` to `onSelect` in the type.
- Loading branch information
1 parent
f27358d
commit e0693e7
Showing
6 changed files
with
426 additions
and
331 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
Oops, something went wrong.