import { CSmartPagination } from '@coreui/react-pro'
// or
import CSmartPagination from '@coreui/react-pro/src/components/smart-pagination/CSmartPagination'
PropertyDescriptionTypeDefault
activePageCurrent page number.number1
alignHorizontall align.'start' | 'center' | 'end'start
arrowsShow/hide arrows.booleantrue
classNameA string of all className you want applied to the base component.string-
dotsShow/hide dots.booleantrue
doubleArrowsShow double arrows buttons.booleantrue
firstButtonThe content of 'firstButton' button.ReactNode«
lastButtonThe content of 'lastButton' button.ReactNode»
limitMaximum items number.number5
nextButtonThe content of 'nextButton' button.ReactNode
onActivePageChangeOn active page change callback.(activePage: number) => void-
pagesNumber of pages.number-
previousButtonThe content of 'previousButton' button.ReactNode
sizeSize of pagination, valid values: 'sm', 'lg'.'sm' | 'lg'-
On this page