Updates pagination update (#68)

* make it work

* refactor & update styling to mui v5

* ditch styled, this looks bad
This commit is contained in:
Aria Moradi
2021-11-10 23:04:04 +03:30
committed by GitHub
parent c9e4901c15
commit 63d9a64542
2 changed files with 87 additions and 60 deletions

5
src/typings.d.ts vendored
View File

@@ -203,3 +203,8 @@ interface NavbarItem {
IconComponent: OverridableComponent<SvgIconTypeMap<{}, 'svg'>>,
show: 'mobile' | 'desktop' | 'both'
}
interface PaginatedList<T> {
page: T[],
hasNextPage: boolean
}