警告:道具类型失败:在'ReactNativeModal'中需要标记道具'children'。值未定义”

时间:2019-03-17 04:53:02

标签: javascript android reactjs react-native react-apollo

我尝试添加插件以响应本机资本。我在博览会上得到了这个警告

 <Button transparent onPress={() => this.openVendor()}>
                        <Icon name="ios-list" style={{ color: '#fff' }} />
                    </Button>
                </Right>
            </Header>
            <Modal
                isVisible={this.state.visibleModal === 1}
                animationIn={'slideInUp'}
                animationOut={'slideOutDown'}
            >
                {this.renderVendor()}
            </Modal>

0 个答案:

没有答案