@mui/lab
Version:
Laboratory for new MUI modules.
23 lines (21 loc) • 691 B
JavaScript
'use client';
import * as React from 'react';
import AvatarGroup from '@mui/material/AvatarGroup';
import { jsx as _jsx } from "react/jsx-runtime";
let warnedOnce = false;
const warn = () => {
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;
}
};
/**
* @ignore - do not document.
*/
export default /*#__PURE__*/React.forwardRef(function DeprecatedAvatarGroup(props, ref) {
warn();
return /*#__PURE__*/_jsx(AvatarGroup, {
ref: ref,
...props
});
});