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

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

@candebbs

Description

@candebbs

在"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的图片轮播不能拿不到图片,同时没有自动播放,估计滑动有冲突。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions