0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-22 21:53:27 -05:00
penpot-exporter-figma-plugin/ui-src/translators/translateFontStyle.ts

4 lines
107 B
TypeScript
Raw Normal View History

2024-04-08 10:50:01 -05:00
export const translateFontStyle = (style: string) => {
return style.toLowerCase().replace(/\s/g, '');
};