@carbon/icons-react or @carbon/react/icons? #21199
Unanswered
OmranAbazid
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems that
@carbon/reacthas a dependency on@carbon/icons-reactSo in theory, we do not need to install@carbon/icons-reactseparately, and we can just import the icons from@carbon/react/icons.However, i do not see this pattern documented anywhere.
So is this an okay pattern (
import {<iconName>} from @carbon/react/icons) and are we sure that It won't be deprecated in the future?Beta Was this translation helpful? Give feedback.
All reactions