bigbluebutton-tablet/App.tsx

28 lines
650 B
TypeScript
Raw Normal View History

import * as React from 'react';
2022-02-16 07:55:10 +08:00
import {StyleSheet, View, Platform} from 'react-native';
import {BigbluebuttonMobile} from 'bigbluebutton-mobile-sdk';
2022-02-16 07:55:10 +08:00
export default function App() {
2022-02-16 07:55:10 +08:00
return (
<View style={styles.container}>
<BigbluebuttonMobile
broadcastAppBundleId="org.bigbluebutton.mobile-sdk.example.BigBlueButtonMobileSdkBroadcastExample"
url="https://demo.bigbluebutton.org/gl"
style={styles.bbb}
/>
2022-02-16 07:55:10 +08:00
</View>
);
}
2022-02-16 07:55:10 +08:00
const styles = StyleSheet.create({
container: {
flex: 1,
flexDirection: 'row',
2022-02-16 07:55:10 +08:00
},
bbb: {
marginTop: Platform.select({ios: 48, android: 0}),
flex: 1,
2022-02-16 07:55:10 +08:00
},
});