aboutsummaryrefslogtreecommitdiff
path: root/.build
diff options
context:
space:
mode:
Diffstat (limited to '.build')
-rw-r--r--.build/svgr-template.js4
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;