Skip to content
This repository has been archived by the owner on Apr 15, 2021. It is now read-only.

/03_library_demo/tab_demo/TopTabViewTest的问题 #4

Open
candebbs opened this issue Mar 3, 2017 · 0 comments
Open

/03_library_demo/tab_demo/TopTabViewTest的问题 #4

candebbs opened this issue Mar 3, 2017 · 0 comments

Comments

@candebbs
Copy link

candebbs commented Mar 3, 2017

在"react-native-tab-view": "0.0.56",这个版本(原来版本是"react-native-tab-view": "0.0.48",),运行代码会报

Element type is invalid: expected a string(for built-in components) or a class/funtion(for composite components) but got:check then render method of 'TabViewTransitioner'

这个错误的。
0.0.56版本去掉TabViewTransitioner这个依赖的,
把TabBarTop改为TabBar就可以了,

    // optional callback which renders a header, useful for a top tab bar
    _renderHeader = (props) => {
        return <TabBar {...props}/>;
    }

运行成功,但是发现BannerTest的图片轮播不能拿不到图片,同时没有自动播放,估计滑动有冲突。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant