UNPKG

wass-rct-ui

Version:

A lightweight and customizable WASS Rct UI component library for modern web applications.

25 lines (24 loc) 843 B
/** * @file wass-rct-ui * @description A reusable Title component that supports dynamic heading levels. * @author Web Apps Software Solutions * @copyright © 2024 Web Apps Software Solutions. All rights reserved. * @license MIT * @repository https://github.com/WebAppSoftNK/wass-rct-ui */ import * as React from "react"; import { AlignmentType, BGColorVariant, BoxType, SizeType, TextColorVariant } from "../types"; export interface PaginationProps { currentPage: number; totalPages: number; alignment?: AlignmentType; sizeVariant?: SizeType; bgColorVariant?: BGColorVariant; textColorVariant?: TextColorVariant; boxVariant?: BoxType; isRounded?: boolean; onPageChange: (page: number) => void; className?: string; } declare const Pagination: React.FC<PaginationProps>; export default Pagination;