Skip to content

Commit

Permalink
Update App.js
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamCallao committed Mar 16, 2024
1 parent fdb9bc2 commit 3ad25fa
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions App.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
import React from "react";
import { View } from "react-native";
import { MenuProvider } from "react-native-popup-menu";
import AppNavigator from "./src/navigation/AppNavigator";
import StyledText from "./src/utils/StyledText";

const App = () => {
return (
<MenuProvider>
<View style={{ flex: 1, justifyContent: "center" }}>
<View style={{ alignItems: "center", marginTop: 20, gap:20 }}>
<StyledText regularText>Texto Regular</StyledText>
<StyledText boldText>Texto en Negrita</StyledText>
<View style={{ backgroundColor: 'gray'}}>
<StyledText buttonText>Texto de Botón</StyledText>
</View>
</View>
</View>
<AppNavigator/>
</MenuProvider>
);
};

export default App;
export default App;

0 comments on commit 3ad25fa

Please sign in to comment.