diff --git a/src/components/WebView/index.web.tsx b/src/components/WebView/index.web.tsx index 084b30fb35..34a1bfe2dd 100644 --- a/src/components/WebView/index.web.tsx +++ b/src/components/WebView/index.web.tsx @@ -1,4 +1,4 @@ -import {type Ref, useEffect, useImperativeHandle, useRef} from 'react' +import {useEffect, useImperativeHandle, useRef} from 'react' import {type StyleProp, StyleSheet, type ViewStyle} from 'react-native' // @ts-expect-error untyped import {unstable_createElement} from 'react-native-web' @@ -14,7 +14,7 @@ export type WebViewHandle = { } type WebViewProps = { - ref?: Ref + ref?: React.Ref source: WebViewSource style?: StyleProp title?: string