I don't know, but on https://material-ui.com/style/icons/ it says
Imports
-
If your environment doesn't support tree-shaking, the *recommended* way
to import the icons is the following:
import AccessAlarmIcon from '@material-ui/icons/AccessAlarm';import
ThreeDRotation from '@material-ui/icons/ThreeDRotation';
-
If your environment support tree-shaking you can also import the icons
this way:
import { AccessAlarm, ThreeDRotation } from '@material-ui/icons';
Note: Importing named exports in this way will result in the code for *every
icon* being included in your project, so is not recommended unless you
configure tree-shaking <https://webpack.js.org/guides/tree-shaking/>. It
may also impact Hot Module Reload performance.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.