Is there any way to set currentPage as a prop? Since this is a functional component, you can't use refs. Thanks.
Is there any way to set currentPage as a prop? Since this is a functional component, you can't use refs.
Thanks.