/**
 * @license lucide-solid v1.24.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */

/**
 * Merges classes into a single string
 *
 * @param {array} classes
 * @returns {string} A string of classes
 */
const mergeClasses = (...classes) => classes.filter((className, index, array) => {
  return Boolean(className) && className.trim() !== '' && array.indexOf(className) === index;
}).join(' ').trim();

export { mergeClasses };
//# sourceMappingURL=mergeClasses.mjs.map
