Update index.web.tsx
This commit is contained in:
@@ -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'
|
import {type StyleProp, StyleSheet, type ViewStyle} from 'react-native'
|
||||||
// @ts-expect-error untyped
|
// @ts-expect-error untyped
|
||||||
import {unstable_createElement} from 'react-native-web'
|
import {unstable_createElement} from 'react-native-web'
|
||||||
@@ -14,7 +14,7 @@ export type WebViewHandle = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type WebViewProps = {
|
type WebViewProps = {
|
||||||
ref?: Ref<WebViewHandle>
|
ref?: React.Ref<WebViewHandle>
|
||||||
source: WebViewSource
|
source: WebViewSource
|
||||||
style?: StyleProp<ViewStyle>
|
style?: StyleProp<ViewStyle>
|
||||||
title?: string
|
title?: string
|
||||||
|
|||||||
Reference in New Issue
Block a user