feat(create-turbo): apply official-starter transform
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { Stack } from "expo-router"
|
||||
|
||||
const AppLayout = () => {
|
||||
return <Stack />
|
||||
}
|
||||
|
||||
export default AppLayout
|
||||
@@ -0,0 +1,33 @@
|
||||
import { StyleSheet, Text, View } from "react-native";
|
||||
import { StatusBar } from "expo-status-bar";
|
||||
import { Button } from "@repo/ui";
|
||||
|
||||
export default function Native() {
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Text style={styles.header}>Native</Text>
|
||||
<Button
|
||||
onClick={() => {
|
||||
console.log("Pressed!");
|
||||
alert("Pressed!");
|
||||
}}
|
||||
text="Boop"
|
||||
/>
|
||||
<StatusBar style="auto" />
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: "#fff",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
},
|
||||
header: {
|
||||
fontWeight: "bold",
|
||||
marginBottom: 20,
|
||||
fontSize: 36,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user