pre-installations and preparations

This commit is contained in:
MuhammadKhalilzadeh committed 2024-05-05 11:21:00 +03:30
1 parent 3e5a0329cb
commit 201d621ac3
6977 files changed
+742826

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
'use client';
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 function MultiSelect() {
warn();
return null;
}