Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

glassBlurTarget.ts

6 lines347 Bytes

1import { createContext, type RefObject } from "react";
2import type { View } from "react-native";
3​
4// Android cannot sample a target that contains the BlurView itself. Keep the
5// feed in a separate target, shared by the composer and its popovers.
6export const GlassBlurTargetContext = createContext<RefObject<View | null> | undefined>(undefined);