MCPcopy Create free account
hub / github.com/code100x/daily-code / PaginationLink

Function PaginationLink

packages/ui/src/shad/ui/pagination.tsx:34–46  ·  view source on GitHub ↗
({ className, isActive, size = "icon", ...props }: PaginationLinkProps)

Source from the content-addressed store, hash-verified

32 React.ComponentProps<"a">;
33
34const 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);
47PaginationLink.displayName = "PaginationLink";
48
49const PaginationPrevious = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected