Skip to content

Commit ab62e88

Browse files
committed
Formatted example
1 parent 935d2a1 commit ab62e88

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

examples/16-3-release-blog-create-ref.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@ class MyComponent extends React.Component {
33
divRef = React.createRef();
44

55
render() {
6-
// highlight-range{4}
7-
return (
8-
<input
9-
type="text"
10-
ref={this.divRef}
11-
/>
12-
);
6+
// highlight-next-line
7+
return <input type="text" ref={this.divRef} />;
138
}
149

1510
componentDidMount() {

0 commit comments

Comments
 (0)