You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LeadingIcon ui-kit component is not available from the @commercetools-frontend/ui-kit package, and instead must be imported by installing @commercetools-uikit/icons.
To Reproduce
install @commercetools-frontend/ui-kit
try to import LeadingIcon into a file, e.g. import { LeadingIcon } from @commercetools-frontend/ui-kit
Get an error: Module '"@commercetools-frontend/ui-kit"' has no exported member 'LeadingIcon'.
Expected behavior
LeadingIcon component should be bundled with / made available by ``@commercetools-frontend/ui-kit`.
Having to install @commercetools-uikit/icons separately, and import the component using this syntax: import LeadingIcon from '@commercetools-uikit/icons/leading-icon'; is unexpected and not documented
Screenshots
Error when importing from @commercetools-frontend/ui-kit:
Successful import from @commercetools-uikit/icons/leading-icon:
The text was updated successfully, but these errors were encountered:
The
LeadingIcon
ui-kit component is not available from the@commercetools-frontend/ui-kit
package, and instead must be imported by installing@commercetools-uikit/icons
.To Reproduce
@commercetools-frontend/ui-kit
LeadingIcon
into a file, e.g.import { LeadingIcon } from @commercetools-frontend/ui-kit
Module '"@commercetools-frontend/ui-kit"' has no exported member 'LeadingIcon'.
Expected behavior
LeadingIcon
component should be bundled with / made available by ``@commercetools-frontend/ui-kit`.Having to install
@commercetools-uikit/icons
separately, and import the component using this syntax:import LeadingIcon from '@commercetools-uikit/icons/leading-icon';
is unexpected and not documentedScreenshots
Error when importing from
@commercetools-frontend/ui-kit
:Successful import from
@commercetools-uikit/icons/leading-icon
:The text was updated successfully, but these errors were encountered: