rilyu / teaset

A UI library for react native, provides 20+ pure JS(ES6) components, focusing on content display and action control.
MIT License
2.95k stars 482 forks source link

这行代码为什么不显示呢 #455

Open MARIOMARUI opened 2 years ago

MARIOMARUI commented 2 years ago

async componentDidMount() { let overlayView = ( <Overlay.View style={{ alignItems: "center", justifyContent: "center" }} modal={true} overlayOpacity={0} ref={(v) => (this.overlayView = v)}

<View style={{ backgroundColor: "#333", padding: 40, borderRadius: 15, alignItems: "center", }}

2222222222222

</Overlay.View> ); Overlay.show(overlayView);

zsswlr commented 2 years ago

你逻辑show写这里 你view写这里干什么

发自我的iPhone

在 2021年9月19日,上午2:20,MARIOMARUI @.***> 写道:

 async componentDidMount() { let overlayView = ( <Overlay.View style={{ alignItems: "center", justifyContent: "center" }} modal={true} overlayOpacity={0} ref={(v) => (this.overlayView = v)}

<View style={{ backgroundColor: "#333", padding: 40, borderRadius: 15, alignItems: "center", }}

2222222222222

</Overlay.View> ); Overlay.show(overlayView);

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.