MCPcopy Create free account
hub / github.com/Seanium/ChatMap / PaginationLink

Function PaginationLink

components/ui/pagination.tsx:42–59  ·  view source on GitHub ↗
({
  className,
  isActive,
  size = "icon",
  ...props
}: PaginationLinkProps)

Source from the content-addressed store, hash-verified

40 React.ComponentProps<"a">
41
42const 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)
60PaginationLink.displayName = "PaginationLink"
61
62const PaginationPrevious = ({

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected