React Native modal component that brings swipe to dismiss to WebView
npm install react-native-modalize-webview

!Supports iOS
!MIT License

React Native modal component that brings swipe to dismiss to WebView.

$ npm install react-native-modalize-webview --save
Import ModalizeWebView and use it like the regular Modalize component. Provide WebView props via webViewProps to customize the displayed web page.
``javascript
import {ModalizeWebView} from 'react-native-modalize-webview'
function MyComponent() {
const modalizeRef = useRef(null)
const handleOpen = useCallback(() => {
if (modalizeRef.current) {
modalizeRef.current.open()
}
}, [])
return (
<>
handlePosition="inside"
webViewProps={{
source: {
uri: 'https://facebook.github.io/react-native/',
},
}}
/>
>
)
}
`
---
Configures the underlying WebView component.
| Type | Required |
| -------------------------------------------------------------------------------------------------------------------- | -------- |
| WebViewProps | Yes |
Specifies extra offset from top on scroll to an anchor link. Defaults to 16.
| Type | Required |
| -------- | -------- |
| number` | No |
MIT License © Alka, Inc