From e0648781073ddb5a8b25d0444162c5ea8017a0a4 Mon Sep 17 00:00:00 2001 From: codecalm Date: Mon, 7 Sep 2020 12:48:25 +0200 Subject: stroke props --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index a3a2902..18a63d2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -570,7 +570,7 @@ gulp.task('svg-to-react', gulp.series('clean-react', async function (cb) { }; let indexCode = '', - indexDCode = `import { FC, SVGAttributes } from 'react';\n\ninterface TablerIconProps extends SVGAttributes { color?: string; size?: string | number; }\n\ntype TablerIcon = FC;\n\n`; + indexDCode = `import { FC, SVGAttributes } from 'react';\n\ninterface TablerIconProps extends SVGAttributes { color?: string; size?: string | number; stroke?: string | number; }\n\ntype TablerIcon = FC;\n\n`; await asyncForEach(files, async function (file) { const svgCode = optimizeSvgCode(fs.readFileSync(file).toString()), -- cgit v1.2.1