MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / PaginationLink

Function PaginationLink

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

Source from the content-addressed store, hash-verified

43 React.ComponentProps<"a">
44
45function PaginationLink({
46 className,
47 isActive,
48 size = "icon",
49 ...props
50}: PaginationLinkProps) {
51 return (
52 <a
53 aria-current={isActive ? "page" : undefined}
54 data-slot="pagination-link"
55 data-active={isActive}
56 className={cn(
57 buttonVariants({
58 variant: isActive ? "outline" : "ghost",
59 size,
60 }),
61 className
62 )}
63 {...props}
64 />
65 )
66}
67
68function PaginationPrevious({
69 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected