joshwnj / joshwnj/react-visibility-sensor

Passing Additional Values to onChange

Open
#110 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
2.3k
Forks
192
PR merge metrics
No merged PRs in 30d

Description

I would like to pass additional data through the onChange function but it seems like because it's already expecting a boolean, anything additional I do messes things up? How would I pass a string in addition to the boolean?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.