Templarian / MaterialDesign-React

Dist for Material Design Icons React Component for JS/TypeScript
https://materialdesignicons.com
MIT License
139 stars 20 forks source link

Use @mdi/js as dependency #42

Closed AmirHosseinKarimi closed 4 years ago

AmirHosseinKarimi commented 4 years ago

This package need @mdi/js to work, So should depend on @mdi/js package.

Templarian commented 4 years ago

There are several iconpacks that use this format. @mdi/light-js, simple icons, etc.

We hope to eventually have supplemental sets.

AmirHosseinKarimi commented 4 years ago

So can not set any policy to force users should have one of these icon pack installed?

Templarian commented 4 years ago

You don't even have to use another package if you have the path strings. Some people just paste the path strings into their own local icons file and export their own set.

You can inline the path strings also. Really @mdi/react is just a fancy wrapper that happens to live in our org.

We'll update the docs to list alternative icon packs eventually for it.