UNPKG

@mui/base

Version:

A library of headless ('unstyled') React UI components and low-level hooks.

18 lines (17 loc) 698 B
let warnedOnce = false; const warn = () => { if (!warnedOnce) { console.error(['Base UI: The MultiSelect component was removed from the library.', '', 'The multi-select functionality is now available in the Select component.', 'Replace <MultiSelect> with <Select multiple /> in your code to remove this error.'].join('\n')); warnedOnce = true; } }; /** * The foundation for building custom-styled multi-selection select components. * * @deprecated The multi-select functionality is now available in the Select component. Replace <MultiSelect> with <Select multiple /> in your code. * @ignore - do not document. */ export default function MultiSelect() { warn(); return null; }