Skip to content

Create a pagination component to handle graphql data

Our pagination component does not work with the current graphql api

The current implementation requires page numbers, which we do not have. This is the provided info

"pageInfo": {
  "hasNextPage": true,
  "endCursor": "MjQ=",
  "hasPreviousPage": false,
  "startCursor": "MjQ="
}

We need to create a component with just Prev and Next buttons