aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2022-03-22 23:59:22 +0100
committercodecalm <codecalm@gmail.com>2022-03-22 23:59:22 +0100
commita9e01fc2eb9e83c581e9e668dc822a31d0c1f632 (patch)
tree022b34b86b80be22f18a7047acb6eba5c2df2dbf
parentRelease 1.57.0 (diff)
downloadtabler-icons-a9e01fc2eb9e83c581e9e668dc822a31d0c1f632.tar.xz
Fix #147
-rw-r--r--gulpfile.js4
-rw-r--r--icons-react/index.d.ts2
-rw-r--r--icons-react/index.js2
3 files changed, 6 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 2b2c5d0f..5f501dc8 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -61,7 +61,7 @@ if (fs.existsSync('./compile-options.json')) {
throw "property excludeIcons is not an array";
}
compileOptions.includeIcons = compileOptions.includeIcons.filter(function (icon) {
- return tempOptions.excludeIcons.indexOf(icon) === -1;
+ return tempOptions.excludeIcons.indexOf(icon) === -1;
});
}
@@ -724,7 +724,7 @@ gulp.task('svg-to-react', gulp.series('clean-react', async function (cb) {
fileName = path.basename(file, '.svg') + '.js',
iconComponentName = componentName(file);
- svgr(svgCode, {
+ await svgr(svgCode, {
icon: false,
svgProps: { width: '{size}', height: '{size}', strokeWidth: '{stroke}', stroke: '{color}' },
template: require('./.build/svgr-template')
diff --git a/icons-react/index.d.ts b/icons-react/index.d.ts
index 05d7c449..22689f5b 100644
--- a/icons-react/index.d.ts
+++ b/icons-react/index.d.ts
@@ -1597,3 +1597,5 @@ export const IconZoomCancel: TablerIcon;
export const IconZoomCheck: TablerIcon;
export const IconZoomIn: TablerIcon;
export const IconZoomMoney: TablerIcon;
+export const IconZoomOut: TablerIcon;
+export const IconZoomQuestion: TablerIcon;
diff --git a/icons-react/index.js b/icons-react/index.js
index 28038875..78012038 100644
--- a/icons-react/index.js
+++ b/icons-react/index.js
@@ -1591,3 +1591,5 @@ export { default as IconZoomCancel } from './icons-js/zoom-cancel.js';
export { default as IconZoomCheck } from './icons-js/zoom-check.js';
export { default as IconZoomIn } from './icons-js/zoom-in.js';
export { default as IconZoomMoney } from './icons-js/zoom-money.js';
+export { default as IconZoomOut } from './icons-js/zoom-out.js';
+export { default as IconZoomQuestion } from './icons-js/zoom-question.js';