I updated to the latest version of the library, and since then nothing works cause it's throwing this error when importing any kind of Icon.
Sorry, i didn't manage to use @material-ui/core as new implementation
@storrisi I don't understand your second comment, how did you fix this?
@inform880 since a new version of the library is available, now icons are in a different portion of library, so you need to install it apart from the main material library.
How can we install that
hmm same problem, why don't you wrote solution here directly?
same problem
I was able to resolve by using @material-ui/icons
package like this import SearchIcon from '@material-ui/icons/Search';
But it's required to install also @material-ui/core
. Without that using icon will fail.
If anyone using @material-ui/icons you first need to install @material-ui/core.
Most helpful comment
I was able to resolve by using
@material-ui/icons
package like thisimport SearchIcon from '@material-ui/icons/Search';
But it's required to install also
@material-ui/core
. Without that using icon will fail.