Function
PaginationLink
({
className,
isActive,
size = "icon",
...props
}: PaginationLinkProps)
Source from the content-addressed store, hash-verified
| 40 | React.ComponentProps<"a"> |
| 41 | |
| 42 | const PaginationLink = ({ |
| 43 | className, |
| 44 | isActive, |
| 45 | size = "icon", |
| 46 | ...props |
| 47 | }: PaginationLinkProps) => ( |
| 48 | <a |
| 49 | aria-current={isActive ? "page" : undefined} |
| 50 | className={cn( |
| 51 | buttonVariants({ |
| 52 | variant: isActive ? "outline" : "ghost", |
| 53 | size, |
| 54 | }), |
| 55 | className |
| 56 | )} |
| 57 | {...props} |
| 58 | /> |
| 59 | ) |
| 60 | PaginationLink.displayName = "PaginationLink" |
| 61 | |
| 62 | const PaginationPrevious = ({ |
Callers
nothing calls this directly
Tested by
no test coverage detected