Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdixon committed Nov 22, 2024
1 parent 031156e commit 325d928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/hydrogen/src/pagination/Pagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ type PaginationProps<NodesType> = {
connection: Connection<NodesType>;
/** A render prop that includes pagination data and helpers. */
children: PaginationRenderProp<NodesType>;
/** A namespace for the pagination component to avoid URL param conflicts. */
/** A namespace for the pagination component to avoid URL param conflicts when using multiple `Pagination` components on a single page. */
namespace?: string;
};

Expand Down Expand Up @@ -434,7 +434,7 @@ export function usePagination<NodesType>(

/**
* @param request The request object passed to your Remix loader function.
* @param options Options for how to configure the pagination variables. Includes the ability to change how many nodes are within each page.
* @param options Options for how to configure the pagination variables. Includes the ability to change how many nodes are within each page as well as a namespace to avoid URL param conflicts when using multiple `Pagination` components on a single page.
*
* @returns Variables to be used with the `storefront.query` function
*/
Expand Down

0 comments on commit 325d928

Please sign in to comment.