1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-09-01 01:52:00 +02:00

svgr icons build

This commit is contained in:
codecalm
2020-09-07 12:29:44 +02:00
parent 39a033d78e
commit b159087ea6
715 changed files with 5057 additions and 18 deletions

12
.build/svgr-template.js Normal file
View File

@@ -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;