MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / PaginationLink

Function PaginationLink

packages/react/src/components/pagination.tsx:38–54  ·  view source on GitHub ↗
({ className, isActive, size = "icon", ...props }: PaginationLinkProps)

Source from the content-addressed store, hash-verified

36 React.ComponentProps<"a">;
37
38function PaginationLink({ className, isActive, size = "icon", ...props }: PaginationLinkProps) {
39 return (
40 <a
41 aria-current={isActive ? "page" : undefined}
42 data-slot="pagination-link"
43 data-active={isActive}
44 className={cn(
45 buttonVariants({
46 variant: isActive ? "outline" : "ghost",
47 size,
48 }),
49 className,
50 )}
51 {...props}
52 />
53 );
54}
55
56function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>) {
57 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected