mirror of
https://github.com/tooot-app/app
synced 2025-03-16 03:20:13 +01:00
18 lines
311 B
JavaScript
18 lines
311 B
JavaScript
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import { WebView } from 'react-native-webview'
|
|
|
|
// Update page title
|
|
|
|
export default function Webview ({
|
|
route: {
|
|
params: { uri }
|
|
}
|
|
}) {
|
|
return <WebView source={{ uri: uri }} />
|
|
}
|
|
|
|
Webview.propTypes = {
|
|
uri: PropTypes.string.isRequired
|
|
}
|