2021-03-05 15:33:53 +00:00
|
|
|
import React from 'react';
|
2020-11-04 08:32:06 +00:00
|
|
|
import { Platform } from 'react-native';
|
|
|
|
|
2021-03-05 15:33:53 +00:00
|
|
|
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;
|