···11import {createContext, useContext, useMemo} from 'react'
22import {View} from 'react-native'
3344-import {atoms as a, ViewStyleProp} from '#/alf'
44+import {atoms as a, type ViewStyleProp} from '#/alf'
5566const Context = createContext({
77 gap: 0,
88})
99+Context.displayName = 'GridContext'
9101011export function Row({
1112 children,
···125125}
126126127127const NearScreenContext = createContext(false)
128128+NearScreenContext.displayName = 'VideoNearScreenContext'
128129129130/**
130131 * Renders a 100vh tall div and watches it with an IntersectionObserver to
+1
src/components/PostControls/PostControlButton.tsx
···1313 active?: boolean
1414 color?: {color: string}
1515}>({})
1616+PostControlContext.displayName = 'PostControlContext'
16171718// Base button style, which the the other ones extend
1819export function PostControlButton({
···147147// and it's been difficult to get it to behave in a predictable way.
148148// Our own cache ensures consistent evaluation within a single session.
149149const GateCache = React.createContext<Map<string, boolean> | null>(null)
150150+GateCache.displayName = 'StatsigGateCacheContext'
150151151152type GateOptions = {
152153 dangerouslyDisableExposureLogging?: boolean
···2828 lastInitiatedAt: undefined,
2929 isAgeRestricted: false,
3030})
3131+AgeAssuranceContext.displayName = 'AgeAssuranceContext'
31323233const AgeAssuranceAPIContext = createContext<AgeAssuranceAPIContextType>({
3334 // @ts-ignore can't be bothered to type this
3435 refetch: () => Promise.resolve(),
3536})
3737+AgeAssuranceAPIContext.displayName = 'AgeAssuranceAPIContext'
36383739/**
3840 * Low-level provider for fetching age assurance state on app load. Do not add
···2626}
27272828const DialogContext = React.createContext<IDialogContext>({} as IDialogContext)
2929+DialogContext.displayName = 'DialogContext'
29303031const DialogControlContext = React.createContext<IDialogControlContext>(
3132 {} as IDialogControlContext,
3233)
3434+DialogControlContext.displayName = 'DialogControlContext'
33353436/**
3537 * The number of dialogs that are fully expanded. This is used to determine the background color of the status bar
···107109 </DialogContext.Provider>
108110 )
109111}
112112+Provider.displayName = 'DialogsProvider'
···11import React, {useContext} from 'react'
22-import {SharedValue} from 'react-native-reanimated'
22+import {type SharedValue} from 'react-native-reanimated'
3344import {isNative} from '#/platform/detection'
55···77 scrollY: SharedValue<number>
88 headerHeight: number
99} | null>(null)
1010+PagerHeaderContext.displayName = 'PagerHeaderContext'
10111112/**
1213 * Passes information about the scroll position and header height down via