From 19e814d213a90f8cc72d7ae4b749368148c5f0fd Mon Sep 17 00:00:00 2001 From: stefanhessler Date: Thu, 23 May 2024 10:56:02 +0200 Subject: [PATCH] adjust import references to enchanted package rather than local src in Readme(#6) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 527a790..4b04da9 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ The ThemeProvider needs to be the first component in the component hierarchy. ```typescript import { ThemeProvider } from '@mui/material/styles'; -import { ThemeDirectionType, ThemeModeType, createEnchantedTheme } from '../../src/theme'; +import { ThemeDirectionType, ThemeModeType, createEnchantedTheme } from '@hcl-software/enchanted-react-components/dist/theme'; const enchantedTheme = createEnchantedTheme(ThemeDirectionType.LTR, ThemeModeType.LIGHT_NEUTRAL_GREY); @@ -102,8 +102,8 @@ For 'rtl' support the `DirectionStyleProvider` is also needed. This component sh import { ThemeProvider } from '@mui/material/styles'; import CssBaseline from '@mui/material/CssBaseline'; -import DirectionStyleProvider from '../../src/DirectionStyleProvider'; -import { ThemeDirectionType, ThemeModeType, createEnchantedTheme } from '../../src/theme'; +import DirectionStyleProvider from '@hcl-software/enchanted-react-components/dist/DirectionStyleProvider'; +import { ThemeDirectionType, ThemeModeType, createEnchantedTheme } from '@hcl-software/enchanted-react-components/dist/theme'; const themeDirection = ThemeDirectionType.LTR; const enchantedTheme = createEnchantedTheme(themeDirection, ThemeModeType.LIGHT_NEUTRAL_GREY);