You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
730 B
28 lines
730 B
|
1 month ago
|
import { ThemedView } from "@/components/themed-view";
|
||
|
|
import { Text, TouchableOpacity } from "react-native";
|
||
|
|
import { useRouter } from "expo-router";
|
||
|
|
|
||
|
|
export default function MainScreen() {
|
||
|
|
const router = useRouter();
|
||
|
|
|
||
|
|
const handleWithdraw = () => {
|
||
|
|
router.push("/withdraw");
|
||
|
|
};
|
||
|
|
|
||
|
|
return (
|
||
|
|
<ThemedView style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
|
||
|
|
<TouchableOpacity
|
||
|
|
onPress={handleWithdraw}
|
||
|
|
style={{
|
||
|
|
backgroundColor: "#007AFF",
|
||
|
|
paddingVertical: 10,
|
||
|
|
paddingHorizontal: 20,
|
||
|
|
borderRadius: 8,
|
||
|
|
}}
|
||
|
|
>
|
||
|
|
<Text style={{ color: "#fff", fontSize: 16 }}>提现</Text>
|
||
|
|
</TouchableOpacity>
|
||
|
|
</ThemedView>
|
||
|
|
)
|
||
|
|
}
|
||
|
|
|