Add displayName to contexts (#8814)

This commit is contained in:
Samuel Newman
2025-08-14 01:12:31 +03:00
committed by GitHub
parent 275fece3e3
commit b2c56cbd6d
89 changed files with 173 additions and 28 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
import React, {useContext} from 'react'
import {SharedValue} from 'react-native-reanimated'
import {type SharedValue} from 'react-native-reanimated'
import {isNative} from '#/platform/detection'
@@ -7,6 +7,7 @@ export const PagerHeaderContext = React.createContext<{
scrollY: SharedValue<number>
headerHeight: number
} | null>(null)
PagerHeaderContext.displayName = 'PagerHeaderContext'
/**
* Passes information about the scroll position and header height down via