mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-01-17 20:58:34 +01:00
Fix #147
This commit is contained in:
parent
b9f0648b2e
commit
a9e01fc2eb
@ -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')
|
||||
|
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 IconZoomIn: 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 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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user