rharuow-ds
Version:
Modern React Design System with 20 components and auto color system. Define only 2 colors (primary/secondary) and get automatic variations (hover, light, dark) with proper text contrast (WCAG AA). Includes: Table, Card, Button, Chip, Pagination, Input, Te
16 lines (15 loc) • 474 B
TypeScript
import React from "react";
interface PaginationProps {
/** Total number of pages */
totalPages: number;
/** Currently active page (1-based) */
currentPage: number;
/** Callback when the user selects a page */
onPageChange: (page: number) => void;
/** Disable all interaction */
disabled?: boolean;
/** Extra class on the root nav element */
className?: string;
}
export declare const Pagination: React.FC<PaginationProps>;
export {};