···1import {createContext, useContext, useMemo} from 'react'
2import {View} from 'react-native'
34-import {atoms as a, ViewStyleProp} from '#/alf'
56const Context = createContext({
7 gap: 0,
8})
0910export function Row({
11 children,
···1import {createContext, useContext, useMemo} from 'react'
2import {View} from 'react-native'
34+import {atoms as a, type ViewStyleProp} from '#/alf'
56const Context = createContext({
7 gap: 0,
8})
9+Context.displayName = 'GridContext'
1011export function Row({
12 children,
···125}
126127const NearScreenContext = createContext(false)
0128129/**
130 * Renders a 100vh tall div and watches it with an IntersectionObserver to
···125}
126127const NearScreenContext = createContext(false)
128+NearScreenContext.displayName = 'VideoNearScreenContext'
129130/**
131 * Renders a 100vh tall div and watches it with an IntersectionObserver to
+1
src/components/PostControls/PostControlButton.tsx
···13 active?: boolean
14 color?: {color: string}
15}>({})
01617// Base button style, which the the other ones extend
18export function PostControlButton({
···13 active?: boolean
14 color?: {color: string}
15}>({})
16+PostControlContext.displayName = 'PostControlContext'
1718// Base button style, which the the other ones extend
19export function PostControlButton({
···147// and it's been difficult to get it to behave in a predictable way.
148// Our own cache ensures consistent evaluation within a single session.
149const GateCache = React.createContext<Map<string, boolean> | null>(null)
0150151type GateOptions = {
152 dangerouslyDisableExposureLogging?: boolean
···147// and it's been difficult to get it to behave in a predictable way.
148// Our own cache ensures consistent evaluation within a single session.
149const GateCache = React.createContext<Map<string, boolean> | null>(null)
150+GateCache.displayName = 'StatsigGateCacheContext'
151152type GateOptions = {
153 dangerouslyDisableExposureLogging?: boolean
···28 lastInitiatedAt: undefined,
29 isAgeRestricted: false,
30})
03132const AgeAssuranceAPIContext = createContext<AgeAssuranceAPIContextType>({
33 // @ts-ignore can't be bothered to type this
34 refetch: () => Promise.resolve(),
35})
03637/**
38 * Low-level provider for fetching age assurance state on app load. Do not add
···28 lastInitiatedAt: undefined,
29 isAgeRestricted: false,
30})
31+AgeAssuranceContext.displayName = 'AgeAssuranceContext'
3233const AgeAssuranceAPIContext = createContext<AgeAssuranceAPIContextType>({
34 // @ts-ignore can't be bothered to type this
35 refetch: () => Promise.resolve(),
36})
37+AgeAssuranceAPIContext.displayName = 'AgeAssuranceAPIContext'
3839/**
40 * Low-level provider for fetching age assurance state on app load. Do not add
···26}
2728const DialogContext = React.createContext<IDialogContext>({} as IDialogContext)
02930const DialogControlContext = React.createContext<IDialogControlContext>(
31 {} as IDialogControlContext,
32)
03334/**
35 * The number of dialogs that are fully expanded. This is used to determine the background color of the status bar
···107 </DialogContext.Provider>
108 )
109}
0
···26}
2728const DialogContext = React.createContext<IDialogContext>({} as IDialogContext)
29+DialogContext.displayName = 'DialogContext'
3031const DialogControlContext = React.createContext<IDialogControlContext>(
32 {} as IDialogControlContext,
33)
34+DialogControlContext.displayName = 'DialogControlContext'
3536/**
37 * The number of dialogs that are fully expanded. This is used to determine the background color of the status bar
···109 </DialogContext.Provider>
110 )
111}
112+Provider.displayName = 'DialogsProvider'
···1import React, {useContext} from 'react'
2-import {SharedValue} from 'react-native-reanimated'
34import {isNative} from '#/platform/detection'
5···7 scrollY: SharedValue<number>
8 headerHeight: number
9} | null>(null)
01011/**
12 * Passes information about the scroll position and header height down via
···1import React, {useContext} from 'react'
2+import {type SharedValue} from 'react-native-reanimated'
34import {isNative} from '#/platform/detection'
5···7 scrollY: SharedValue<number>
8 headerHeight: number
9} | null>(null)
10+PagerHeaderContext.displayName = 'PagerHeaderContext'
1112/**
13 * Passes information about the scroll position and header height down via