Pagination Component (shadcn/ui) #456
Unanswered
dmytrotree
asked this question in
Q&A
Replies: 1 comment
-
Ex: // import Link from 'next/link';
<PaginationLink asChild>
<Link href="/page-1">1</Link>
</PaginationLink> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to implement
<Link />
despite the absence of Next.js in thedesign-system
package in its current setup?By default the

<PaginationLink />
component will render an<a />
tag. To use the Next.js<Link />
component, make the following updates topagination.tsx.
Link to docs: shadcn/pagination
Beta Was this translation helpful? Give feedback.
All reactions