chore: move typings

This commit is contained in:
Arvid Norlin
2024-08-20 09:30:03 +02:00
parent 0453728696
commit 7e719bc475
3 changed files with 24 additions and 11 deletions

View File

@@ -31,6 +31,19 @@ export interface RowProps {
transaction: Transaction
}
export interface PaginationProps {
pageCount: number
isFetching: boolean
handlePageChange: (page: number) => void
currentPage: number
}
export interface PaginationButtonProps {
disabled: boolean
isActive?: boolean
handleClick: () => void
}
export interface AwardPointsProps extends Pick<Transaction, "awardPoints"> {}
export interface AwardPointsVariantProps