Project initialization (npx create-react-native-library)
This commit is contained in:
25
example/src/App.tsx
Normal file
25
example/src/App.tsx
Normal file
@@ -0,0 +1,25 @@
|
||||
import * as React from 'react';
|
||||
|
||||
import { StyleSheet, View } from 'react-native';
|
||||
import { BigbluebuttonMobileSdkView } from 'bigbluebutton-mobile-sdk';
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<BigbluebuttonMobileSdkViewManager color="#32a852" style={styles.box} />
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
},
|
||||
box: {
|
||||
width: 60,
|
||||
height: 60,
|
||||
marginVertical: 20,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user