Files
jitsi-meet/react/features/toolbox/components/native/ScreenSharingButton.js
Alex Bumbu 508f1e0da9 feat(iOS): screensharing support
The Jitsi team would like to thank @AliKarpuzoglu, @linuxpi and The Hopp Foundation for the initial effort and help throughout.
2021-03-05 16:33:53 +01:00

19 lines
504 B
JavaScript

import React from 'react';
import { Platform } from 'react-native';
import ScreenSharingAndroidButton from './ScreenSharingAndroidButton.js';
import ScreenSharingIosButton from './ScreenSharingIosButton.js';
const ScreenSharingButton = props => (
<>
{Platform.OS === 'android'
&& <ScreenSharingAndroidButton { ...props } />
}
{Platform.OS === 'ios'
&& <ScreenSharingIosButton { ...props } />
}
</>
);
export default ScreenSharingButton;