Initial commit
This commit is contained in:
14
node_modules/lucide-react/dist/esm/shared/src/utils.js
generated
vendored
Normal file
14
node_modules/lucide-react/dist/esm/shared/src/utils.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* @license lucide-react v0.453.0 - ISC
|
||||
*
|
||||
* This source code is licensed under the ISC license.
|
||||
* See the LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
const toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
||||
const mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
||||
return Boolean(className) && array.indexOf(className) === index;
|
||||
}).join(" ");
|
||||
|
||||
export { mergeClasses, toKebabCase };
|
||||
//# sourceMappingURL=utils.js.map
|
||||
Reference in New Issue
Block a user