Files
emaui/apps/backoffice/src/app/providers/MantineThemeProvider.tsx
2026-05-29 15:23:46 +03:00

14 lines
415 B
TypeScript

import { MantineProvider } from '@mantine/core';
import { Notifications } from '@mantine/notifications';
import { emaTheme } from '@ema-platform/shared';
import type { ReactNode } from 'react';
export function MantineThemeProvider({ children }: { children: ReactNode }) {
return (
<MantineProvider theme={emaTheme}>
<Notifications position="top-right" />
{children}
</MantineProvider>
);
}