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:
Eric Fennis
2021-02-26 16:35:18 +01:00
committed by GitHub
parent c4f50417d5
commit 87ab0bfb62
21 changed files with 4655 additions and 11 deletions
+7
View File
@@ -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.
*