MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / ArrowIcon

Function ArrowIcon

apps/docs/src/components/PaginationView.tsx:14–34  ·  view source on GitHub ↗
({ direction }: { direction: "left" | "right" })

Source from the content-addressed store, hash-verified

12}
13
14function ArrowIcon({ direction }: { direction: "left" | "right" }) {
15 const path =
16 direction === "left"
17 ? "M15 5l-7 7 7 7M8 12h12"
18 : "M9 5l7 7-7 7M16 12H4";
19
20 return (
21 <svg
22 aria-hidden="true"
23 className="h-5 w-5"
24 fill="none"
25 stroke="currentColor"
26 strokeLinecap="round"
27 strokeLinejoin="round"
28 strokeWidth="2"
29 viewBox="0 0 24 24"
30 >
31 <path d={path} />
32 </svg>
33 );
34}
35
36function PaginationCard({
37 href,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected