Skip to content

Commit f4e20ab

Browse files
authored
Update textinput.md (facebook#4131)
remove useEffect/componentDidMount
1 parent 3cc4d43 commit f4e20ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/textinput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ If `false`, disables auto-correct. The default value is `true`.
231231

232232
### `autoFocus`
233233

234-
If `true`, focuses the input on `componentDidMount` or `useEffect`. The default value is `false`.
234+
If `true`, focuses the input. The default value is `false`.
235235

236236
| Type |
237237
| ---- |

0 commit comments

Comments
 (0)