chore(theme): define palette and typographies and override mui styles with this values, also add rtlProvider
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
import React from 'react';
|
||||
import { I18nextProvider } from 'react-i18next';
|
||||
import i18n from '@/config/i18n';
|
||||
import { CustomThemeProvider } from './CustomThemeProvider';
|
||||
import { RtlProvider } from './RtlProvider';
|
||||
|
||||
export const AppProviders: React.FC<{ children: React.ReactNode }> = ({
|
||||
children,
|
||||
}) => {
|
||||
return <I18nextProvider i18n={i18n}>{children}</I18nextProvider>;
|
||||
return (
|
||||
<I18nextProvider i18n={i18n}>
|
||||
<RtlProvider>
|
||||
<CustomThemeProvider>{children}</CustomThemeProvider>
|
||||
</RtlProvider>
|
||||
</I18nextProvider>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user