-
Notifications
You must be signed in to change notification settings - Fork 54
/
_app.tsx
34 lines (30 loc) · 956 Bytes
/
_app.tsx
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
31
32
33
34
import '../styles/global.scss'
import 'raf/polyfill'
// @ts-ignore
global.setImmediate = requestAnimationFrame
import 'setimmediate'
import { SafeAreaProvider } from 'react-native-safe-area-context'
import Head from 'next/head'
import { AppProps } from 'next/app'
import { DripsyProvider } from 'dripsy'
import { theme } from 'app/theme'
export default function App({ Component, pageProps }: AppProps) {
return (
<>
<Head>
<title>Example</title>
<meta key="title" name="title" content="Example" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon.png" />
<meta
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"
name="viewport"
/>
</Head>
<DripsyProvider theme={theme}>
<SafeAreaProvider>
<Component {...pageProps} />
</SafeAreaProvider>
</DripsyProvider>
</>
)
}