Skip to content

Commit cf897b6

Browse files
authored
Update README.md
1 parent 7971649 commit cf897b6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,11 @@ Ex: [using simulateClick](https://github.com/bySabi/react-scrollchor/blob/exampl
137137
When used programmatically some use-case don't need `anchor tags`. On this cases use childrenless `Scrollchor`
138138
139139
### Childrenless `Scrollchor`
140-
This component will render `null` and the user it's reponsible of store the component [reference](https://facebook.github.io/react/docs/refs-and-the-dom.html)
141-
Ex: [(childrenless)](https://github.com/bySabi/react-scrollchor/blob/example/src/App.js#L24)
140+
This component will render `null` and the user it's reponsible of store the component [reference](https://facebook.github.io/react/docs/refs-and-the-dom.html), Ex: [childrenless](https://github.com/bySabi/react-scrollchor/blob/example/src/App.js#L24)
142141
```js
143142
<Scrollchor ref={ref => (this._back = ref)} to="_back" />
144143
```
145-
Ex: [(calling `simulateClick()` on childrenless `ref`)](https://github.com/bySabi/react-scrollchor/blob/example/src/App.js#L17)
144+
Ex: [calling `simulateClick()` on childrenless `ref`](https://github.com/bySabi/react-scrollchor/blob/example/src/App.js#L17)
146145
```js
147146
_afterAnimate = () => {
148147
this.setState({ to: this._iterator.next().value });

0 commit comments

Comments
 (0)