From a9e01fc2eb9e83c581e9e668dc822a31d0c1f632 Mon Sep 17 00:00:00 2001 From: codecalm Date: Tue, 22 Mar 2022 23:59:22 +0100 Subject: Fix #147 --- gulpfile.js | 4 ++-- icons-react/index.d.ts | 2 ++ icons-react/index.js | 2 ++ 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'; -- cgit v1.2.1