From 399ec00ba312d997d5dbc72a44e1b91292175cf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8Curda?= Date: Tue, 10 Dec 2024 09:39:27 +0100 Subject: [PATCH] fixup! Docs(web-react): Add IconsProvider documentation #DS-815 --- packages/web-react/src/components/Icon/README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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';