Function
PaginationLink
({ className, isActive, size = "icon", ...props }: PaginationLinkProps)
Source from the content-addressed store, hash-verified
| 32 | React.ComponentProps<"a">; |
| 33 | |
| 34 | const PaginationLink = ({ className, isActive, size = "icon", ...props }: PaginationLinkProps) => ( |
| 35 | <a |
| 36 | aria-current={isActive ? "page" : undefined} |
| 37 | className={cn( |
| 38 | buttonVariants({ |
| 39 | variant: isActive ? "outline" : "ghost", |
| 40 | size, |
| 41 | }), |
| 42 | className |
| 43 | )} |
| 44 | {...props} |
| 45 | /> |
| 46 | ); |
| 47 | PaginationLink.displayName = "PaginationLink"; |
| 48 | |
| 49 | const PaginationPrevious = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => ( |
Callers
nothing calls this directly
Tested by
no test coverage detected