'use client';

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

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