@mui/lab
Version:
Laboratory for new MUI modules.
23 lines (21 loc) • 707 B
JavaScript
'use client';
import * as React from 'react';
import SpeedDialIcon from '@mui/material/SpeedDialIcon';
import { jsx as _jsx } from "react/jsx-runtime";
let warnedOnce = false;
const warn = () => {
if (!warnedOnce) {
console.warn(['MUI: The SpeedDialIcon component was moved from the lab to the core.', '', "You should use `import { SpeedDialIcon } from '@mui/material'`", "or `import SpeedDialIcon from '@mui/material/SpeedDialIcon'`"].join('\n'));
warnedOnce = true;
}
};
/**
* @ignore - do not document.
*/
export default /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDialIcon(props, ref) {
warn();
return /*#__PURE__*/_jsx(SpeedDialIcon, {
ref: ref,
...props
});
});