{"version":3,"file":"pagination.0xNAnZfhPG.js","sources":["../../../../src/molecules/pagination/Pagination.tsx"],"sourcesContent":["import { getModifiers } from '@helpers/functions';\nimport { PaginationModel } from '@_types/molecules';\nimport { Fragment, MouseEventHandler } from 'react';\n\ninterface Props extends PaginationModel {\n handlePageChange?: MouseEventHandler;\n handleNextClick?: (event: any) => void;\n handlePreviousClick?: (event: any) => void;\n}\n\nconst Pagination = (model: Props) => {\n const { pages, previousPage, nextPage, handlePageChange, handleNextClick, handlePreviousClick } = model;\n const modifiers = getModifiers(model, 'arjo-m-pagiation');\n\n return (\n