react-native-loop-scrollable-tab-view

0.1.2 • Public • Published

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>

Package Sidebar

Install

npm i react-native-loop-scrollable-tab-view

Weekly Downloads

5

Version

0.1.2

License

MIT

Unpacked Size

4.06 kB

Total Files

5

Last publish

Collaborators

  • mengqiang.q