diff options
author | Paweł Kuna <1282324+codecalm@users.noreply.github.com> | 2020-10-08 21:14:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 21:14:05 +0200 |
commit | fa480759bd45f06341dc8026f3fb0f981965200c (patch) | |
tree | 5617b40088a57a19c74b454d949bbba5d3b63c63 /.build/svgr-template.js | |
parent | Release 1.33.0 (diff) | |
parent | [dev-icons-react-bundling] change svgr template to enable babel transformatio... (diff) | |
download | tabler-icons-fa480759bd45f06341dc8026f3fb0f981965200c.tar.xz |
Merge pull request #82 from tabler/dev-icons-react-bundling
React icons bundling for different usage types
Diffstat (limited to '.build/svgr-template.js')
-rw-r--r-- | .build/svgr-template.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.build/svgr-template.js b/.build/svgr-template.js index ed7c593a..c8c41384 100644 --- a/.build/svgr-template.js +++ b/.build/svgr-template.js @@ -5,8 +5,8 @@ function template( ) { return template.ast` ${imports} - const ${componentName} = (size = 24, color = "currentColor", stroke = 2, ...props) => ${jsx} + function ${componentName}({ size = 24, color = "currentColor", stroke = 2, ...props }) { return (${jsx}); } ${exports} - ` + `; } module.exports = template; |