We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not locate shadow view with tag #5329, this is probably caused by a temporary inconsistency between native views and shadow views.
import Modal,{ ModalProps } from '../Modal'; export interface ComonentsProps { visible?: boolean; /** modal 属性 */ ModalProps?: ModalProps; /** 关闭模态框 */ onClosed?: () => void; } const Comonents = (props) => { const { visible, onClosed, ModalProps, } = props; return ( <Modal placement="bottom" visible={visible} onClosed={onClosed} {...ModalProps} > <SafeAreaView> <Text>123</Text> <Text>123</Text> <Text>123</Text> <Text>123</Text> <Text>123</Text> <Text>123</Text> <Text>123</Text> <Text>123</Text> </SafeAreaView> </Modal> ); };
import {Comonents, Button} from '@uiw/react-native'; import React, {useState} from 'react' const Demo = ()=>{ const [visible, setVisible] = useState(false) return( <> <Button onPress={()=>{ setVisible(true) }}>按钮</Button> <Comonents visible={visible} onClose={()=>setVisible(false)} /> </> ) }
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
功能也会失效
此为datePicker组件问题,暂时关闭该issue。关联#378
No branches or pull requests
控制台输入如下
packages
example
The text was updated successfully, but these errors were encountered: