We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3e0b7f commit ae27d03Copy full SHA for ae27d03
CHANGELOG.md
@@ -1,5 +1,8 @@
1
-Changelog
2
-====
+# Changelog
+
3
+## 5.1.0
4
5
+- Add TypeScript definition ([#153](https://github.com/joshwnj/react-visibility-sensor/pull/153))
6
7
## 5.0.0
8
@@ -111,7 +114,7 @@ Changelog
111
114
112
115
If you're not setting a `className` or `style`, no change is required.
113
116
-Otherwise add your own element as a child and move the `className` or `style` there. Eg:
117
+Otherwise add your own element as a child and move the `className` or `style` there. Eg:
118
119
- before: `<VisibilitySensor className='something' />`
120
- after: `<VisibilitySensor><div className='something' /></VisibilitySensor>`
0 commit comments