-
Notifications
You must be signed in to change notification settings - Fork 284
Expand file tree
/
Copy pathindex.ts
More file actions
19 lines (14 loc) · 744 Bytes
/
index.ts
File metadata and controls
19 lines (14 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import 'react-native-gesture-handler'
import './src/app'
import './src/perf'
import { AppRegistry } from 'react-native'
import Animated from 'react-native-reanimated'
import { name as appName } from './app.json'
import { App } from './src/components/App'
if (typeof BigInt === 'undefined') global.BigInt = require('big-integer')
// See https://github.com/software-mansion/react-native-reanimated/issues/1794#issuecomment-898393331
// For ReText/SwipeChart support requirements, see:
// https://github.com/software-mansion/react-native-reanimated/discussions/5621
// https://github.com/software-mansion/react-native-reanimated/issues/5432
Animated.addWhitelistedNativeProps({ text: true })
AppRegistry.registerComponent(appName, () => App)