From 5e2701cc2c1834d1f6a2c1cbbc4c2348a29c59d5 Mon Sep 17 00:00:00 2001 From: Matheus Cruz Rocha Date: Mon, 9 Sep 2024 10:37:32 +0100 Subject: [PATCH] PaginationItemRenderProps is not a generic In the documentation on the custom item the type PaginationItemRenderProps is represented with a generic but in the implementation it doesn't receive a generic type. --- apps/docs/content/components/pagination/custom-items.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/components/pagination/custom-items.ts b/apps/docs/content/components/pagination/custom-items.ts index 080ffe6ff2..3e94ff8c6b 100644 --- a/apps/docs/content/components/pagination/custom-items.ts +++ b/apps/docs/content/components/pagination/custom-items.ts @@ -59,7 +59,7 @@ export default function App() { onPrevious, setPage, className, - }: PaginationItemRenderProps) => { + }: PaginationItemRenderProps) => { if (value === PaginationItemType.NEXT) { return (