The SupportAgent (https://material.io/resources/icons/?icon=support_agent) icon does not seem to be avaible in @material-ui/icons 4.9.1
import SupportAgentIcon from '@material-ui/icons/supportAgent'
Module not found: Can't resolve '@material-ui/icons/supportAgent'
or
import { SupportAgent } from '@material-ui/icons'
Attempted import error: 'SupportAgent' is not exported from '@material-ui/icons'
The icon should be imported
https://codesandbox.io/s/xenodochial-rubin-5jerc?fontsize=14&hidenavigation=1&theme=dark
| Tech | Version |
| ----------- | ------- |
| Material-UI | v4.10.1 |
| Material-UI-Icons | v4.9.1 |
@twltwl It looks like Google has added some new icons, so the package needs a fresh build.
@twltwl Do you want to work on it? :)
yarn
cd packages/material-ui-icons
rm legacy/CastForEducation.js
rm legacy/CastForEducationOutlined.js
rm legacy/CastForEducationRounded.js
rm legacy/CastForEducationSharp.js
rm legacy/CastForEducationTwoTone.js
rm legacy/StarRate.js
rm legacy/StarRateOutlined.js
rm legacy/StarRateRounded.js
rm legacy/StarRateSharp.js
rm legacy/StarRateTwoTone.js
yarn src:download
yarn src:icons
git commit -am "[icons] Synchronize icons with Google"
cd ../..
yarn docs:icons
?
@mbrookes Right, we would also need to look at the synonyms for the search on the documentation. I can already see one 馃槅 https://material.io/resources/icons/?search=wash&icon=wash&style=baseline
@oliviertassinari @mbrookes I can take this, but wanted to check with you on one thing. The new dump of icons from Google no longer contains the "Motorcycle" icon that is currently being used in the production package (it only contains "TwoWheeler" with a synonym "motorcycle"). Should it be moved to the legacy folder to avoid a breaking change?
@alecananian Thanks for looking into it. I can understand why Google removed the motocycle icon, the icon itself isn't their best work and has a narrower use case. Adding a synonym would be great. I'm leaning towards adding a fallback but that re export the two wheeler icon with a message that ask users to change the import.
Landed here because I'm not seeing the icons "pending" and "pending_actions".
@Kizmar it will be solved in #21498.
Landed here because I'm not seeing the icons "pending" and "pending_actions".
Nor the pull request linked directly above your comment apparently. 馃槈
@mbrookes My apologies; I should have just thumbed up the OP and left it at that. Didn't mean to irritate.
Not irritated, just couldn't resist 馃榿