MCPcopy
hub / github.com/triggerdotdev/trigger.dev / ListPagination

Function ListPagination

apps/webapp/app/components/ListPagination.tsx:13–20  ·  view source on GitHub ↗
({ list, className }: { list: List; className?: string })

Source from the content-addressed store, hash-verified

11};
12
13export function ListPagination({ list, className }: { list: List; className?: string }) {
14 return (
15 <div className={cn("flex items-center gap-1", className)}>
16 <PreviousButton cursor={list.pagination.previous} />
17 <NextButton cursor={list.pagination.next} />
18 </div>
19 );
20}
21
22function NextButton({ cursor }: { cursor?: string }) {
23 const path = useCursorPath(cursor, "forward");

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…