import type { HTMLAttributes, HTMLProps, ReactNode } from 'react'; export type TPaginationProps = { /** Set the Pagination's active page */ activePage: number; /** Set PaginationButton's class name */ buttonClassName?: string; /** Set PaginationButton's on click function */ onClick: (page: number) => void; /** Set the Pagination's total page */ totalPage: number; } & Omit, 'onClick'>; export type TPaginationButtonProps = { /** Set the PaginationButton's active state */ active?: boolean; /** Set the PaginationButton's disabled state */ disabled?: boolean; /** Set the PaginationButton's label */ label: ReactNode; } & Omit, 'label' | 'type'> & Omit, 'label'>;