Add pagination component

This commit is contained in:
DefectingCat
2022-08-23 13:50:37 +08:00
parent 5bcc2ecba8
commit 2f42e3fb90
5 changed files with 88 additions and 55 deletions

View File

@ -17,6 +17,9 @@ export type GistData = {
description: string | null;
};
export type GetGists = {
/**
* { prev: null, next: '2', last: '5', first: null }
*/
pageSize: pageSize;
gists: GistData[];
};