diff options
author | codecalm <codecalm@gmail.com> | 2020-09-18 10:49:46 +0200 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-09-18 10:49:46 +0200 |
commit | f01f9e13a4118d22ceaf9f42dbb42f27ec7c0f28 (patch) | |
tree | 6982b8d46db2c0fc10b9c6cdb5bdedfbf1afbadf /.build | |
parent | icons optimize (diff) | |
parent | icons react (diff) | |
download | tabler-icons-f01f9e13a4118d22ceaf9f42dbb42f27ec7c0f28.tar.xz |
Merge branches 'dev-icons-react' and 'master' of https://github.com/tabler/tabler-icons
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 00000000..ed7c593a --- /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; |