Skip to content

Commit cfa0671

Browse files
david-buckstreamich
authored andcommitted
fix: example referred to incorrect component
1 parent a8efb91 commit cfa0671

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/WidthSensor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Or use `onWidth` prop
1919
```jsx
2020
import {WidthSensor} from 'libreact/lib/WidthSensor';
2121

22-
<SizeSensor onWidth={({width, height}) => console.log(width, height)}>
22+
<WidthSensor onWidth={({width, height}) => console.log(width, height)}>
2323
Resize me!
24-
</SizeSensor>
24+
</WidthSensor>
2525
```
2626

2727

0 commit comments

Comments
 (0)