Cannot Change Href, Affecting SEO
Currently, it is not possible to change the href, and this negatively impacts SEO.
href={linkHref === 'hash' ? '#' : undefined}
Thank you for your request 😄
I'll implement this by allowing the linkHref prop to be a callback, here's an example:
<ResponsivePagination
...
linkHref={page => `/content/${page}`}
/>
This should give full flexibility in case there is any logic based on the page number
:tada: This issue has been resolved in version 2.8.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
v2.8.0 supports a callback value for linkHref
Please see https://react-responsive-pagination.elantha.com/props/#misc-props for an example
Thank you for your request 😄
Thank you for implementing this feature so quickly.