feat(SW-164): Add pagination for friendship transactions

This commit is contained in:
Arvid Norlin
2024-08-13 11:33:06 +02:00
parent 2282e35a71
commit 6f293be3a7
13 changed files with 202 additions and 91 deletions

View File

@@ -1,4 +1,4 @@
import { awardPointsVariants } from "@/components/MyPages/Blocks/Points/EarnAndBurn/Desktop/Row/awardPointsVariants"
import { awardPointsVariants } from "@/components/MyPages/Blocks/Points/EarnAndBurn/TransactionTable/Desktop/Row/awardPointsVariants"
import type { VariantProps } from "class-variance-authority"
@@ -27,6 +27,11 @@ export interface TableProps {
transactions: Transactions
}
export interface TablePropsPagination extends TableProps {
showMore: () => void
hasMore: boolean
}
export interface RowProps {
transaction: Transaction
}