@@ -6,9 +6,13 @@ export type LabelContextValue = MutableRefObject<{
66 triggerChange : ( evt : NativeSyntheticEvent < TouchEvent > ) => void
77} >
88
9- export type KeyboardAvoidContextValue = MutableRefObject <
10- { cursorSpacing : number , ref : MutableRefObject < any > } | null
11- >
9+ export type KeyboardAvoidContextValue = MutableRefObject < {
10+ cursorSpacing : number
11+ ref : MutableRefObject < any >
12+ adjustPosition : boolean
13+ keyboardHeight ?: number
14+ onKeyboardShow ?: ( ) => void
15+ } | null >
1216
1317export interface GroupValue {
1418 [ key : string ] : { checked : boolean ; setValue : Dispatch < SetStateAction < boolean > > }
@@ -37,13 +41,13 @@ export interface IntersectionObserver {
3741}
3842
3943export interface PortalContextValue {
40- mount : ( children : React . ReactNode , key ?: number | null , id ?: number | null ) => number | undefined
44+ mount : ( children : React . ReactNode , key ?: number | null , id ?: number | null ) => number | undefined
4145 update : ( key : number , children : React . ReactNode ) => void
4246 unmount : ( key : number ) => void
4347}
4448
4549export interface ScrollViewContextValue {
46- gestureRef : React . RefObject < any > | null ,
50+ gestureRef : React . RefObject < any > | null
4751 scrollOffset : Animated . Value
4852}
4953
@@ -53,7 +57,7 @@ export interface RouteContextValue {
5357}
5458
5559export interface StickyContextValue {
56- registerStickyHeader : Function ,
60+ registerStickyHeader : Function
5761 unregisterStickyHeader : Function
5862}
5963
0 commit comments