| 1 | diff --git a/build/BlurView.types.d.ts b/build/BlurView.types.d.ts |
| 2 | index cc93ffe2cd398a73ac50ebbe5427cbe4187fd83b..7246e9ffbe67af7da4fed20e1e08d0768be812a3 100644 |
| 3 | --- a/build/BlurView.types.d.ts |
| 4 | +++ b/build/BlurView.types.d.ts |
| 5 | @@ -1,5 +1,5 @@ |
| 6 | import type { RefObject } from 'react'; |
| 7 | -import type { ViewProps, View } from 'react-native'; |
| 8 | +import type { ViewProps, ViewInstance } from 'react-native'; |
| 9 | /** |
| 10 | * Blur method to use on Android. |
| 11 | * |
| 12 | @@ -24,7 +24,7 @@ export type BlurViewProps = { |
| 13 | * |
| 14 | * @platform android |
| 15 | */ |
| 16 | - blurTarget?: RefObject<View | null>; |
| 17 | + blurTarget?: RefObject<ViewInstance | null>; |
| 18 | /** |
| 19 | * A tint mode which will be applied to the view. |
| 20 | * |
| 21 | @@ -68,6 +68,6 @@ export type BlurViewProps = { |
| 22 | blurMethod?: BlurMethod; |
| 23 | } & ViewProps; |
| 24 | export type BlurTargetViewProps = { |
| 25 | - ref?: RefObject<View | null>; |
| 26 | + ref?: RefObject<ViewInstance | null>; |
| 27 | } & ViewProps; |
| 28 | export type BlurTint = 'light' | 'dark' | 'default' | 'extraLight' | 'regular' | 'prominent' | 'systemUltraThinMaterial' | 'systemThinMaterial' | 'systemMaterial' | 'systemThickMaterial' | 'systemChromeMaterial' | 'systemUltraThinMaterialLight' | 'systemThinMaterialLight' | 'systemMaterialLight' | 'systemThickMaterialLight' | 'systemChromeMaterialLight' | 'systemUltraThinMaterialDark' | 'systemThinMaterialDark' | 'systemMaterialDark' | 'systemThickMaterialDark' | 'systemChromeMaterialDark'; |
| 29 | diff --git a/src/BlurView.types.ts b/src/BlurView.types.ts |
| 30 | index b63ad6b3a9e30bd0f13cff322be79077d0cb5326..bdc3295af94bc17e8a6457b6c9567ff2d57799a7 100644 |
| 31 | --- a/src/BlurView.types.ts |
| 32 | +++ b/src/BlurView.types.ts |
| 33 | @@ -1,5 +1,5 @@ |
| 34 | import type { RefObject } from 'react'; |
| 35 | -import type { ViewProps, View } from 'react-native'; |
| 36 | +import type { ViewProps, ViewInstance } from 'react-native'; |
| 37 | |
| 38 | /** |
| 39 | * Blur method to use on Android. |
| 40 | @@ -27,7 +27,7 @@ export type BlurViewProps = { |
| 41 | * |
| 42 | * @platform android |
| 43 | */ |
| 44 | - blurTarget?: RefObject<View | null>; |
| 45 | + blurTarget?: RefObject<ViewInstance | null>; |
| 46 | /** |
| 47 | * A tint mode which will be applied to the view. |
| 48 | * |
| 49 | @@ -74,7 +74,7 @@ export type BlurViewProps = { |
| 50 | } & ViewProps; |
| 51 | |
| 52 | export type BlurTargetViewProps = { |
| 53 | - ref?: RefObject<View | null>; |
| 54 | + ref?: RefObject<ViewInstance | null>; |
| 55 | } & ViewProps; |
| 56 | |
| 57 | export type BlurTint = |