1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-01-17 20:58:34 +01:00
This commit is contained in:
codecalm 2022-03-22 23:59:22 +01:00
parent b9f0648b2e
commit a9e01fc2eb
3 changed files with 6 additions and 2 deletions

View File

@ -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')

View File

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

View File

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