({ list, className }: { list: List; className?: string })
| 11 | }; |
| 12 | |
| 13 | export 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 | |
| 22 | function NextButton({ cursor }: { cursor?: string }) { |
| 23 | const path = useCursorPath(cursor, "forward"); |
nothing calls this directly
no test coverage detected
searching dependent graphs…