From 6a5f5bf0283458aabdcc34eb695175cfea4a632f Mon Sep 17 00:00:00 2001 From: codecalm Date: Sun, 17 Apr 2022 20:43:39 +0200 Subject: build react script --- scripts/svgr-template.js | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 scripts/svgr-template.js (limited to 'scripts/svgr-template.js') diff --git a/scripts/svgr-template.js b/scripts/svgr-template.js deleted file mode 100644 index c8c41384..00000000 --- a/scripts/svgr-template.js +++ /dev/null @@ -1,12 +0,0 @@ -function template( - { template }, - opts, - { imports, componentName, props, jsx, exports }, -) { - return template.ast` - ${imports} - function ${componentName}({ size = 24, color = "currentColor", stroke = 2, ...props }) { return (${jsx}); } - ${exports} - `; -} -module.exports = template; -- cgit v1.2.1