u
This commit is contained in:
1 parent
94983ed1ea
commit
7b5ab1ab04
59 files changed
+8911
-14495
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import { Button, Text, View } from 'react-native'
|
||||
import { useCounter } from '@/hooks/useCounter'
|
||||
|
||||
export default function App() {
|
||||
const { count, increment, decrement, reset } = useCounter(0)
|
||||
|
||||
return (
|
||||
<View>
|
||||
<Text>
|
||||
Welcome to Nativewind!
|
||||
</Text>
|
||||
<Text>
|
||||
Count:
|
||||
<Text>{count}</Text>
|
||||
</Text>
|
||||
|
||||
<Button title="你好" />
|
||||
</View>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user