mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-11 05:32:30 +00:00
The Jitsi team would like to thank @AliKarpuzoglu, @linuxpi and The Hopp Foundation for the initial effort and help throughout.
19 lines
504 B
JavaScript
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;
|