Skip to content

Commit

Permalink
chore: update callback typing
Browse files Browse the repository at this point in the history
  • Loading branch information
alcercu authored Jul 3, 2024
1 parent 2f9d45e commit ff9ebb4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/pagination/compact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ const CloseButton = styled(ArrowButton)`
interface CompactPaginationProps {
currentPage: number;
numPages: number;
//eslint-disable-next-line @typescript-eslint/ban-types
callback: Function;
callback: (newPage: number) => void;
onCloseOnLastPage?: () => void;
label?: ReactNode;
className?: string;
Expand Down

0 comments on commit ff9ebb4

Please sign in to comment.