mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 14:43:24 +00:00
15 lines
445 B
TypeScript
15 lines
445 B
TypeScript
import { Global, ThemeProvider } from '@emotion/react';
|
|
import { ReactNode } from 'react';
|
|
import documentStyle from '~/styles/document';
|
|
import { cssReset } from '~/styles/reset';
|
|
import { theme } from '~/styles/theme';
|
|
|
|
export default function BaseLayout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<>
|
|
<ThemeProvider theme={theme}>{children}</ThemeProvider>
|
|
<Global styles={[cssReset, documentStyle]} />
|
|
</>
|
|
);
|
|
}
|