UNPKG

794 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = MultiSelect;
7let warnedOnce = false;
8const warn = () => {
9 if (!warnedOnce) {
10 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'));
11 warnedOnce = true;
12 }
13};
14
15/**
16 * The foundation for building custom-styled multi-selection select components.
17 *
18 * @deprecated The multi-select functionality is now available in the Select component. Replace <MultiSelect> with <Select multiple /> in your code.
19 * @ignore - do not document.
20 */
21function MultiSelect() {
22 warn();
23 return null;
24}
\No newline at end of file