This is a stub types definition for react-visibility-sensor (https://github.com/joshwnj/react-visibility-sensor).
react-visibility-sensor provides its own type definitions, so you don't need @types/react-visibility-sensor installed!
This is a stub types definition. react-visibility-sensor provides its own type definitions, so you do not need this installed.
Stub TypeScript definitions entry for react-visibility-sensor, which provides its own types definitions
This is a stub types definition for react-visibility-sensor (https://github.com/joshwnj/react-visibility-sensor).
react-visibility-sensor provides its own type definitions, so you don't need @types/react-visibility-sensor installed!
offset prop (#64).debounceCheck is not cleared properly (#62)delay to scrollDelay (#59)partialVisible (#41)partialVisibility prop can now either be a boolean (any edge can be visible) or a string of top|right|bottom|left to indicate which edge determines visibility (#42)minTopValue and delayedCall props (#30)npm run build, which is also run on prepublishexample-umd to show how to use it with plain <script> tags.check methodpackage.browserify field, which is no longer needed and was causing some conflicts (#11)partialVisibility changes the behaviour of the sensor, so that it considers an element to be visible if it is at least partially visible (#15)<div> (#13)className or style props.v1.x:If you're not setting a className or style, no change is required.
Otherwise add your own element as a child and move the className or style there. Eg:
<VisibilitySensor className='something' /><VisibilitySensor><div className='something' /></VisibilitySensor>