UNPKG

quantumai-design-system

Version:

퀀텀에이아이의 디자인 시스템

18 lines (17 loc) 706 B
import { ReactNode } from 'react'; import { PageInfoProps } from './PageInfo'; export interface PaginationProps { totalItems: number; itemsPerPage: number; currentPage: number; onPageChange: (page: number) => void; renderPrevButton?: ReactNode; renderNextButton?: ReactNode; childOfPrevButton?: ReactNode; childOfNextButton?: ReactNode; info?: { render?: ReactNode; } & PageInfoProps; } declare const Pagination: ({ totalItems, itemsPerPage, currentPage, onPageChange, renderPrevButton, renderNextButton, childOfPrevButton, childOfNextButton, info, ...props }: PaginationProps) => import("@emotion/react/jsx-runtime").JSX.Element; export default Pagination;