about summary refs log tree commit diff
path: root/src/view/routes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/routes.ts')
-rw-r--r--src/view/routes.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/routes.ts b/src/view/routes.ts
index 1f2f3544f..1054ff8d2 100644
--- a/src/view/routes.ts
+++ b/src/view/routes.ts
@@ -1,4 +1,5 @@
-import React from 'react'
+import React, {MutableRefObject} from 'react'
+import {FlatList} from 'react-native'
 import {IconProp} from '@fortawesome/fontawesome-svg-core'
 import {Home} from './screens/Home'
 import {Search} from './screens/Search'
@@ -15,6 +16,7 @@ import {Settings} from './screens/Settings'
 export type ScreenParams = {
   params: Record<string, any>
   visible: boolean
+  scrollElRef: MutableRefObject<FlatList<any> | undefined>
 }
 export type Route = [React.FC<ScreenParams>, IconProp, RegExp]
 export type MatchResult = {