Skip to content

Providing the value of the pagination button clicked to linkProps #62

@cschratz

Description

@cschratz

I'm currently setting up a blog and utilizing the next-pagination component.

I'm providing a new route to the component via linkProps, but I would like to add the value of the page being clicked on to the route

For example

Screen Shot 2022-08-17 at 4 34 45 PM

So after the /page/, I would like to be able to provide the value of 2 if a user clicked on the 2 in the component so the new route would be /page/2/.

Is this currently possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions