diff --git a/packages/rn-tester/js/examples/TextInput/TextInputSharedExamples.js b/packages/rn-tester/js/examples/TextInput/TextInputSharedExamples.js index 32549b615e16d3..edb7c141f7f19f 100644 --- a/packages/rn-tester/js/examples/TextInput/TextInputSharedExamples.js +++ b/packages/rn-tester/js/examples/TextInput/TextInputSharedExamples.js @@ -367,7 +367,7 @@ class TokenizedTextExample extends React.Component< type SelectionExampleState = { selection: $ReadOnly<{| start: number, - end?: number, + end: number, |}>, value: string, ... @@ -436,7 +436,8 @@ class SelectionExample extends React.Component< - selection = {JSON.stringify(this.state.selection).replace(/"/g, '')} + selection ={' '} + {`{start:${this.state.selection.start},end:${this.state.selection.end}}`}