Skip to content

Commit

Permalink
fix(docs): remove unwanted generic from PaginationItemRenderProps(#3729)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matheusrocha89 authored Sep 9, 2024
1 parent fe30dc8 commit c2c3534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/content/components/pagination/custom-items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function App() {
onPrevious,
setPage,
className,
}: PaginationItemRenderProps<HTMLButtonElement>) => {
}: PaginationItemRenderProps) => {
if (value === PaginationItemType.NEXT) {
return (
<button key={key} className={cn(className, "bg-default-200/50 min-w-8 w-8 h-8")} onClick={onNext}>
Expand Down

0 comments on commit c2c3534

Please sign in to comment.