'use client';

import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import Pagination from '@mui/material/Pagination';
import { jsx as _jsx } from "react/jsx-runtime";
var warnedOnce = false;

/**
 * @ignore - do not document.
 */
export default /*#__PURE__*/React.forwardRef(function DeprecatedPagination(props, ref) {
  if (!warnedOnce) {
    console.warn(['MUI: The Pagination component was moved from the lab to the core.', '', "You should use `import { Pagination } from '@mui/material'`", "or `import Pagination from '@mui/material/Pagination'`"].join('\n'));
    warnedOnce = true;
  }
  return /*#__PURE__*/_jsx(Pagination, _extends({
    ref: ref
  }, props));
});