diff --git a/examples/LaftelVideo/App.tsx b/examples/LaftelVideo/App.tsx index 753aeb86..34b602b5 100644 --- a/examples/LaftelVideo/App.tsx +++ b/examples/LaftelVideo/App.tsx @@ -10,111 +10,18 @@ import React, {type PropsWithChildren} from 'react'; import { - SafeAreaView, - ScrollView, - StatusBar, StyleSheet, - Text, - useColorScheme, View, } from 'react-native'; +import Video from 'react-native-video' -import { - Colors, - DebugInstructions, - Header, - LearnMoreLinks, - ReloadInstructions, -} from 'react-native/Libraries/NewAppScreen'; +const App = () => { -const Section: React.FC< - PropsWithChildren<{ - title: string; - }> -> = ({children, title}) => { - const isDarkMode = useColorScheme() === 'dark'; return ( - - - {title} - - - {children} - + + ); }; -const App = () => { - const isDarkMode = useColorScheme() === 'dark'; - - const backgroundStyle = { - backgroundColor: isDarkMode ? Colors.darker : Colors.lighter, - }; - - return ( - - - -
- -
- Edit App.tsx to change this - screen and then come back to see your edits. -
-
- -
-
- -
-
- Read the docs to discover what to do next: -
- -
- - - ); -}; - -const styles = StyleSheet.create({ - sectionContainer: { - marginTop: 32, - paddingHorizontal: 24, - }, - sectionTitle: { - fontSize: 24, - fontWeight: '600', - }, - sectionDescription: { - marginTop: 8, - fontSize: 18, - fontWeight: '400', - }, - highlight: { - fontWeight: '700', - }, -}); - export default App;