{"size": 646, "ext": "js", "max_stars_repo_path": "packages/cascara/src/components/Pagination/__globals.js", "max_stars_repo_name": "brianespinosa/cosmos-monorepo", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "packages/cascara/src/components/Pagination/__globals.js", "max_issues_repo_name": "brianespinosa/cosmos-monorepo", "max_issues_repo_issues_event_min_datetime": "2020-07-23T16:32:23.000Z", "max_issues_repo_issues_event_max_datetime": "2020-07-23T16:32:23.000Z", "max_forks_repo_path": "packages/cascara/src/components/Pagination/__globals.js", "max_forks_repo_name": "Espressive/fds-monorepo", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 18.4571428571, "max_line_length": 70, "alphanum_fraction": 0.6996904025}
const PAGINATION_OPTIONS = [25, 50, 100, 150];

// const noop = () => {};

const INITIAL_STATE = {
  currentPage: 1,
  perPage: PAGINATION_OPTIONS[0],
  // setCurrentPage: noop,
  // setPerPage: noop,
};

const REDUCER_ACTIONS = {
  SET_COUNT: 'SET_COUNT',
  SET_CURRENT_PAGE: 'SET_CURRENT_PAGE',
  SET_PER_PAGE: 'SET_PER_PAGE',
};

const WARNING_STRINGS = {
  MISSING_STATE_HOOK:
    'Pagination requires a usePaginationState hook in order to work.',
};

const LABELS = {
  CURRENT_RECORDS: 'Current Records',
  RECORD_COUNT: 'Record Count',
};

export {
  INITIAL_STATE,
  LABELS,
  PAGINATION_OPTIONS,
  REDUCER_ACTIONS,
  WARNING_STRINGS,
};
