UNPKG

@mui/lab

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