Skip to content

Commit

Permalink
Make necessary changes to update to material-ui v5 RC (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShotSkydiver authored and leMaik committed Nov 2, 2021
1 parent fd22e60 commit 1307780
Show file tree
Hide file tree
Showing 4 changed files with 409 additions and 123 deletions.
4 changes: 2 additions & 2 deletions generate-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function checkNameClashes (icons) {
}).code)

// typescript definition
fse.writeFileSync(path.join(__dirname, 'package', `${filename || name}.d.ts`), `export { default } from '@material-ui/core/SvgIcon'
fse.writeFileSync(path.join(__dirname, 'package', `${filename || name}.d.ts`), `export { default } from '@mui/material/SvgIcon'
`)
}

Expand All @@ -75,7 +75,7 @@ function checkNameClashes (icons) {
}).code)

// typescript definition
fse.writeFileSync(path.join(__dirname, 'package', 'light', `${filename || name}.d.ts`), `export { default } from '@material-ui/core/SvgIcon'
fse.writeFileSync(path.join(__dirname, 'package', 'light', `${filename || name}.d.ts`), `export { default } from '@mui/material/SvgIcon'
`)
}

Expand Down
Loading

0 comments on commit 1307780

Please sign in to comment.