jiti-meet/react/features/toolbox/components/native/ScreenSharingButton.js

19 lines
504 B
JavaScript
Raw Normal View History

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;