Function
Pagination
({ className, ...props }: React.ComponentProps<"nav">)
Source from the content-addressed store, hash-verified
| 5 | import { buttonVariants, type Button } from "./button"; |
| 6 | |
| 7 | function Pagination({ className, ...props }: React.ComponentProps<"nav">) { |
| 8 | return ( |
| 9 | <nav |
| 10 | role="navigation" |
| 11 | aria-label="pagination" |
| 12 | data-slot="pagination" |
| 13 | className={cn("mx-auto flex w-full justify-center", className)} |
| 14 | {...props} |
| 15 | /> |
| 16 | ); |
| 17 | } |
| 18 | |
| 19 | function PaginationContent({ className, ...props }: React.ComponentProps<"ul">) { |
| 20 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected