mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-14 13:58:21 +00:00
Figma plugin! (#227)
* initialize figma plugin * Add icons to view * Make the plugin work * Fix search hook * Finialize figma plugin * Finish up icons * remove unused code * Add cover and icon
This commit is contained in:
@@ -22,6 +22,13 @@ export const toPascalCase = string => {
|
||||
return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
|
||||
};
|
||||
|
||||
/**
|
||||
* Converts string to PascalCase
|
||||
*
|
||||
* @param {string} string
|
||||
*/
|
||||
export const toKebabCase = string => string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();
|
||||
|
||||
/**
|
||||
* Resets the file contents.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user