-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessing to ref #512
Comments
You can achieve this by using the useRef hook as in this example: const pageRef = useRef(null);
return (
<ReactPaginate
ref={pageRef}
pageCount={pageCount}
/>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can I access ref ? I need to put a mouseenter event handler on the button, but I can't because I don't have access to ref
The text was updated successfully, but these errors were encountered: