Skip to content

Commit

Permalink
Merge branch 'mui-v5'
Browse files Browse the repository at this point in the history
  • Loading branch information
leMaik committed Nov 2, 2021
2 parents 77611ad + 20ee57b commit fd22e60
Show file tree
Hide file tree
Showing 5 changed files with 474 additions and 315 deletions.
4 changes: 2 additions & 2 deletions generate-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function checkNameClashes (icons) {

for (const { name, filename, svgPath } of icons) {
const code = `import createIcon from './util/createIcon'
export default createIcon('${svgPath}')
export default createIcon('${svgPath}', '${name}')
`

// commonjs module syntax
Expand All @@ -64,7 +64,7 @@ function checkNameClashes (icons) {

for (const { name, filename, svgPath } of lightIcons) {
const code = `import createIcon from '../util/createIcon'
export default createIcon('${svgPath}')
export default createIcon('${svgPath}', '${name}')
`

// commonjs module syntax
Expand Down
Loading

0 comments on commit fd22e60

Please sign in to comment.