diff --git a/packages/web-react/src/components/Icon/README.md b/packages/web-react/src/components/Icon/README.md index a3b422cea3..f7052f2724 100644 --- a/packages/web-react/src/components/Icon/README.md +++ b/packages/web-react/src/components/Icon/README.md @@ -29,20 +29,17 @@ So it will not be automatically installed with `@lmc-eu/spirit-web-react`. To ensure the `Icon` component functions as expected, wrap your application or the component tree where Icon is used with the `IconsProvider`. You need to pass the icon set to the provider as its value. -import { IconsProvider } from '@lmc-eu/spirit-web-react/components'; -import icons from '@lmc-eu/spirit-icons/icons'; - ```jsx -import { Icon, IconsProvider } from '@lmc-eu/spirit-web-react/components'; +import { Icon, IconsProvider } from '@lmc-eu/spirit-web-react'; import icons from '@lmc-eu/spirit-icons/icons'; -{/* Your app or component with Icon */}; +{/* Your Icon, app or component where Icon is used */}; ``` ### Example ```jsx -import { Icon, IconsProvider } from '@lmc-eu/spirit-web-react/components'; +import { Icon, IconsProvider } from '@lmc-eu/spirit-web-react'; import icons from '@lmc-eu/spirit-icons/icons';