aboutsummaryrefslogtreecommitdiff
path: root/scripts/svgr-template.js
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2022-04-17 20:43:39 +0200
committercodecalm <codecalm@gmail.com>2022-04-17 20:43:39 +0200
commit6a5f5bf0283458aabdcc34eb695175cfea4a632f (patch)
tree58fe67c2cc4529730890e032da903891e85d12a6 /scripts/svgr-template.js
parent2.1.0 (diff)
downloadtabler-icons-v2.0.tar.xz
build react scriptv2.0
Diffstat (limited to 'scripts/svgr-template.js')
-rw-r--r--scripts/svgr-template.js12
1 files changed, 0 insertions, 12 deletions
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;