Skip to content

Commit 0d7d3dc

Browse files
committed
docs: fixed typo in docs
1 parent 90662fd commit 0d7d3dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The methods below can be called on the React component's ref (see: [React Docs](
6969
| :------------- | :-------------
7070
| getCaretPosition() : number | Gets the current caret position in the textarea
7171
| setCaretPosition(position : number) : void | Sets the caret position to the integer value passed as the argument
72-
| getSelectionPositions(): {selectionStar: number, selectionEnd: number} | Returns selectionStart and selectionEnd of the textarea
72+
| getSelectionPosition(): {selectionStart: number, selectionEnd: number} | Returns selectionStart and selectionEnd of the textarea
7373
| getSelectedText(): ?string | Returns currently selected word
7474

7575
Example:

0 commit comments

Comments
 (0)