UNPKG

@s-ui/react-molecule-pagination

Version:

`MoleculePagination` is a component that displays a range of pages with the current page highlighted and the proper buttons to navigate across the available pages in the entire range of total pages

9 lines 365 B
export var BASE_CLASS = 'sui-MoleculePagination'; export var PAGE_NUMBER_HOLDER = '%{pageNumber}'; export var DIVIDER = '···'; export var defaultCreateUrl = function defaultCreateUrl(_ref) { var pageNumber = _ref.pageNumber, urlPattern = _ref.urlPattern; return urlPattern.replace(PAGE_NUMBER_HOLDER, pageNumber); }; export var noop = function noop() {};