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

'use strict';

/**
 * 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();

exports.mergeClasses = mergeClasses;
//# sourceMappingURL=mergeClasses.js.map
