You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ScreenSharingButton.js 504B

123456789101112131415161718
  1. import React from 'react';
  2. import { Platform } from 'react-native';
  3. import ScreenSharingAndroidButton from './ScreenSharingAndroidButton.js';
  4. import ScreenSharingIosButton from './ScreenSharingIosButton.js';
  5. const ScreenSharingButton = props => (
  6. <>
  7. {Platform.OS === 'android'
  8. && <ScreenSharingAndroidButton { ...props } />
  9. }
  10. {Platform.OS === 'ios'
  11. && <ScreenSharingIosButton { ...props } />
  12. }
  13. </>
  14. );
  15. export default ScreenSharingButton;