Skip to content

Commit

Permalink
fix: add functional ref support for 'inputRef' prop
Browse files Browse the repository at this point in the history
fixes #11
  • Loading branch information
dabakovich committed Dec 22, 2020
1 parent bee0304 commit c19dcaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ The `Mentions` component supports next props:
| renderSuggestions | function ({keyword, onSuggestionPress}) ReactNode | false | | |
| trigger | string | false | '@' | Character that will trigger mentions |
| isInsertSpaceAfterMention | boolean | false | false | Should we add a space after selected mentions if the mention is at the end of row |
| inputRef | TextInput | false | | |
| inputRef | Ref<TextInput> | false | | |
| mentionTextStyle | StyleProp\<TextStyle> | false | | Text style for mentions in TextInput |
| containerStyle | StyleProp\<ViewStyle> | false | | |
| ...textInputProps | TextInputProps | false | | Other text input props |
Expand Down

0 comments on commit c19dcaa

Please sign in to comment.