aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-09-07 12:48:25 +0200
committercodecalm <codecalm@gmail.com>2020-09-07 12:48:25 +0200
commite0648781073ddb5a8b25d0444162c5ea8017a0a4 (patch)
treeddc5ecb5c4d2d90a03d2ac69976ce340317a8c0e
parentpackage fixes (diff)
downloadtabler-icons-e0648781073ddb5a8b25d0444162c5ea8017a0a4.tar.xz
stroke props
-rw-r--r--gulpfile.js2
-rw-r--r--icons-react/index.d.js2
2 files changed, 2 insertions, 2 deletions
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<SVGElement> { color?: string; size?: string | number; }\n\ntype TablerIcon = FC<TablerIconProps>;\n\n`;
+ indexDCode = `import { FC, SVGAttributes } from 'react';\n\ninterface TablerIconProps extends SVGAttributes<SVGElement> { color?: string; size?: string | number; stroke?: string | number; }\n\ntype TablerIcon = FC<TablerIconProps>;\n\n`;
await asyncForEach(files, async function (file) {
const svgCode = optimizeSvgCode(fs.readFileSync(file).toString()),
diff --git a/icons-react/index.d.js b/icons-react/index.d.js
index 1b868f6..f278607 100644
--- a/icons-react/index.d.js
+++ b/icons-react/index.d.js
@@ -1,6 +1,6 @@
import { FC, SVGAttributes } from 'react';
-interface TablerIconProps extends SVGAttributes<SVGElement> { color?: string; size?: string | number; }
+interface TablerIconProps extends SVGAttributes<SVGElement> { color?: string; size?: string | number; stroke?: string | number; }
type TablerIcon = FC<TablerIconProps>;