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