Skip to content

Commit

Permalink
fix: example referred to incorrect component
Browse files Browse the repository at this point in the history
  • Loading branch information
david-buck authored and streamich committed Feb 8, 2019
1 parent a8efb91 commit cfa0671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/WidthSensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Or use `onWidth` prop
```jsx
import {WidthSensor} from 'libreact/lib/WidthSensor';

<SizeSensor onWidth={({width, height}) => console.log(width, height)}>
<WidthSensor onWidth={({width, height}) => console.log(width, height)}>
Resize me!
</SizeSensor>
</WidthSensor>
```


Expand Down

1 comment on commit cfa0671

@streamich
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build version: 2.12.0-master.166 🤞 master on Travis 🎉

Please sign in to comment.