Skip to content

Commit 7cea64d

Browse files
committed
fix: add functional ref support for 'inputRef' prop
1 parent c19dcaa commit 7cea64d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The `Mentions` component supports next props:
9898
| renderSuggestions | function ({keyword, onSuggestionPress}) ReactNode | false | | |
9999
| trigger | string | false | '@' | Character that will trigger mentions |
100100
| isInsertSpaceAfterMention | boolean | false | false | Should we add a space after selected mentions if the mention is at the end of row |
101-
| inputRef | Ref<TextInput> | false | | |
101+
| inputRef | Ref\<TextInput> | false | | |
102102
| mentionTextStyle | StyleProp\<TextStyle> | false | | Text style for mentions in TextInput |
103103
| containerStyle | StyleProp\<ViewStyle> | false | | |
104104
| ...textInputProps | TextInputProps | false | | Other text input props |

0 commit comments

Comments
 (0)