Skip to content

bitQ2019/react-native-loop-scrollable-tab-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
import LoopScrollTabView from '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>

About

react-native loop tabview scrollable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published