Add `TextInput` `setSelection` method · rescript-react-native/rescript-react-native@32c12da

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 32c12da

committed

Add TextInput setSelection method

facebook/react-native@771ca92

1 parent ff931ea commit 32c12da

File tree

1 file changed

+

1

-

0

lines changed

1 file changed

+

1

-

0

lines changed

Lines changed: 1 addition & 0 deletions

Original file line numberDiff line numberDiff line change

@@ -5,4 +5,5 @@ module Make = (

55

) => {

66

@send external isFocused: T.t => bool = "isFocused"

77

@send external clear: T.t => unit = "clear"

8+

@send external setSelection: (T.t, int, int) => unit = "setSelection"

89

}

0 commit comments

Comments

 (0)