diff options
author | codecalm <codecalm@gmail.com> | 2020-09-07 12:29:44 +0200 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-09-07 12:29:44 +0200 |
commit | b159087ea60804caf7468ab5ba4861d68af1926d (patch) | |
tree | 95f650ceb87fd57589f7575433ddb04d07213f7d /.build | |
parent | Release 1.19.0 (diff) | |
download | tabler-icons-b159087ea60804caf7468ab5ba4861d68af1926d.tar.xz |
svgr icons build
Diffstat (limited to '.build')
-rw-r--r-- | .build/svgr-template.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.build/svgr-template.js b/.build/svgr-template.js new file mode 100644 index 0000000..ed7c593 --- /dev/null +++ b/.build/svgr-template.js @@ -0,0 +1,12 @@ +function template( + { template }, + opts, + { imports, componentName, props, jsx, exports }, +) { + return template.ast` + ${imports} + const ${componentName} = (size = 24, color = "currentColor", stroke = 2, ...props) => ${jsx} + ${exports} + ` +} +module.exports = template; |