Skip to content

Commit

Permalink
Fixed off-by-one line highlights.
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn committed Mar 7, 2018
1 parent 3f304b9 commit f6e5d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/refs-and-the-dom.md
Expand Up @@ -111,7 +111,7 @@ React will assign the `value` property with the DOM element when the component m

If we wanted to wrap the `CustomTextInput` above to simulate it being clicked immediately after mounting, we could use a ref to get access to the custom input and call its `focusTextInput` method manually:

```javascript{4,7,12}
```javascript{4,8,13}
class AutoFocusTextInput extends React.Component {
constructor(props) {
super(props);
Expand Down

0 comments on commit f6e5d65

Please sign in to comment.