Paginator
Paginación numérica. El componente no guarda la página: la recibe y la notifica.
import { Paginator } from '#LibComponents/react/atomic/paginator/paginator.component';totalCount={120} pageSize={10}totalCount={25} pageSize={10}<Paginator currentPage={1} pageSize={10} totalCount={120} onPageChange={fn} />Props del tipo del componente
| Prop | Tipo | Obligatorio | Default | Descripción |
|---|---|---|---|---|
className | string | no | — | |
currentPage | number | sí | — | |
onPageChange | (cP: number) => void | sí | — | |
pageSize | number | sí | — | |
siblingCount | number | no | — | |
totalCount | number | sí | — | |
i18n | GenericType<StaticFields<string>> | no | — | |
showI18n | boolean | no | — | |
showResume | boolean | no | — |