mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-08-18 20:03:48 +02:00
Fix #147
This commit is contained in:
@@ -61,7 +61,7 @@ if (fs.existsSync('./compile-options.json')) {
|
|||||||
throw "property excludeIcons is not an array";
|
throw "property excludeIcons is not an array";
|
||||||
}
|
}
|
||||||
compileOptions.includeIcons = compileOptions.includeIcons.filter(function (icon) {
|
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',
|
fileName = path.basename(file, '.svg') + '.js',
|
||||||
iconComponentName = componentName(file);
|
iconComponentName = componentName(file);
|
||||||
|
|
||||||
svgr(svgCode, {
|
await svgr(svgCode, {
|
||||||
icon: false,
|
icon: false,
|
||||||
svgProps: { width: '{size}', height: '{size}', strokeWidth: '{stroke}', stroke: '{color}' },
|
svgProps: { width: '{size}', height: '{size}', strokeWidth: '{stroke}', stroke: '{color}' },
|
||||||
template: require('./.build/svgr-template')
|
template: require('./.build/svgr-template')
|
||||||
|
2
icons-react/index.d.ts
vendored
2
icons-react/index.d.ts
vendored
@@ -1597,3 +1597,5 @@ export const IconZoomCancel: TablerIcon;
|
|||||||
export const IconZoomCheck: TablerIcon;
|
export const IconZoomCheck: TablerIcon;
|
||||||
export const IconZoomIn: TablerIcon;
|
export const IconZoomIn: TablerIcon;
|
||||||
export const IconZoomMoney: TablerIcon;
|
export const IconZoomMoney: TablerIcon;
|
||||||
|
export const IconZoomOut: TablerIcon;
|
||||||
|
export const IconZoomQuestion: TablerIcon;
|
||||||
|
@@ -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 IconZoomCheck } from './icons-js/zoom-check.js';
|
||||||
export { default as IconZoomIn } from './icons-js/zoom-in.js';
|
export { default as IconZoomIn } from './icons-js/zoom-in.js';
|
||||||
export { default as IconZoomMoney } from './icons-js/zoom-money.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';
|
||||||
|
Reference in New Issue
Block a user