diff --git a/app.json b/app.json index d097947..be40188 100644 --- a/app.json +++ b/app.json @@ -23,7 +23,8 @@ }, "web": { "output": "static", - "favicon": "./assets/images/favicon.png" + "favicon": "./assets/images/favicon.png", + "bundler": "metro" }, "plugins": [ "expo-router", diff --git a/app/Hello_World.tsx b/app/Hello_World.tsx new file mode 100644 index 0000000..f9e177d --- /dev/null +++ b/app/Hello_World.tsx @@ -0,0 +1,49 @@ +import React, { useState } from 'react'; +import { Button, Text, View } from 'react-native'; + +// const styles = StyleSheet.create({ +// container: { +// alignItems: 'center', +// }, +// text: { +// fontSize: 40 +// } +// }) + +type HelloWorldProps = { + text: string; + aNumber: number; +} + +const HelloWorld = (props: HelloWorldProps) => { + return ( + + {props.text} : {props.aNumber} + + ) +} + +const Counter = () => { + const [count, setCount] = useState(0); + + return ( + +