UNPKG

@mui/lab

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