import { Image } from "expo-image"; import React from "react"; import { Modal, Pressable, StyleSheet, TouchableOpacity, View, } from "react-native"; const POSTER_URI = "https://cdn.acetoys.cn/kai_xin_ma_te/resource/magic/award/activity_new.webp"; interface Props { visible: boolean; onClose: () => void; } export function NewbieActivityModal({ visible, onClose }: Props) { return ( ); } const styles = StyleSheet.create({ overlay: { flex: 1, backgroundColor: "rgba(0,0,0,0.6)", justifyContent: "center", alignItems: "center", }, wrapper: { alignItems: "center", }, poster: { width: 275, height: 300, }, closeBtn: { marginTop: 16, }, closeCircle: { width: 30, height: 30, borderRadius: 15, borderWidth: 1.5, borderColor: "#fff", justifyContent: "center", alignItems: "center", }, closeLine: { position: "absolute", width: 14, height: 1.5, backgroundColor: "#fff", }, closeLineA: { transform: [{ rotate: "45deg" }], }, closeLineB: { transform: [{ rotate: "-45deg" }], }, });