2021-11-11 14:32:56 +00:00
|
|
|
// @flow
|
|
|
|
|
|
|
|
import React from 'react';
|
|
|
|
import WebView from 'react-native-webview';
|
|
|
|
|
|
|
|
import JitsiScreen from './JitsiScreen';
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The URL to display.
|
|
|
|
*/
|
|
|
|
source: string,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The component's external style.
|
|
|
|
*/
|
|
|
|
style: Object
|
|
|
|
}
|
|
|
|
|
|
|
|
const JitsiScreenWebView = ({ source, style }: Props) => (
|
|
|
|
<JitsiScreen
|
2022-08-01 09:16:13 +00:00
|
|
|
disableForcedKeyboardDismiss = { true }
|
2021-11-11 14:32:56 +00:00
|
|
|
style = { style }>
|
|
|
|
<WebView source = {{ uri: source }} />
|
|
|
|
</JitsiScreen>
|
|
|
|
);
|
|
|
|
|
|
|
|
export default JitsiScreenWebView;
|