wilddragon-site/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js
2026-04-17 15:51:01 -04:00

14 lines
377 B
JavaScript
Executable file

/**
* @license lucide-react v1.7.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
const toCamelCase = (string) => string.replace(
/^([A-Z])|[\s-_]+(\w)/g,
(match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
);
export { toCamelCase };
//# sourceMappingURL=toCamelCase.js.map