mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-30 04:08:12 +00:00
14 lines
415 B
TypeScript
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>
|
|
);
|
|
}
|