-
Notifications
You must be signed in to change notification settings - Fork 113
Expand file tree
/
Copy path_app.tsx
More file actions
30 lines (29 loc) · 817 Bytes
/
_app.tsx
File metadata and controls
30 lines (29 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import '@ui5/webcomponents-react/dist/Assets.js';
import '@ui5/webcomponents-react/styles.css';
import '../styles/globals.css';
import { ThemeProvider } from '@ui5/webcomponents-react/ThemeProvider';
import type { AppProps } from 'next/app';
import Head from 'next/head';
import { AppShell } from '../components/AppShell';
export default function App({ Component, pageProps }: AppProps) {
return (
<>
<Head>
<script
data-ui5-config
type="application/json"
dangerouslySetInnerHTML={{
__html: JSON.stringify({
theme: 'sap_horizon',
}),
}}
/>
</Head>
<ThemeProvider staticCssInjected>
<AppShell>
<Component {...pageProps} />
</AppShell>
</ThemeProvider>
</>
);
}