You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
713 B
JavaScript
20 lines
713 B
JavaScript
'use client';
|
|
|
|
var warnedOnce = false;
|
|
var warn = function 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 function MultiSelect() {
|
|
warn();
|
|
return null;
|
|
} |