0.1.2 • Published 5 years ago

react-native-loop-scrollable-tab-view v0.1.2

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

React Native Scrollable Tab View Loopable

inspired by react-native-loop-scrollable-tab-view

可循环滑动的tab view 控件。

start

  npm install react-native-loop-scrollable-tab-view
<LoopScrollTabView
    renderTabBar={() => <TabBar />}
    >
    {data.map((item, index) => (
        <CategoryView
        key={item.id}
        actions={actions}
        index={index}
        navigation={navigation}
        selectedId={selectedId}
        subCategories={item.sub_category}
        tabLabel={item.name}
        />
    ))}
    </LoopScrollTabView>