Skip to content

About

A react native library to add tabs in your app with cyclic swipes. It also supports dynamically add and remove tabs

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-circular-tabs

A react native library to provide tab view in your app with cyclic swipes. It also supports dynamically add and remove tabs

Usage

import CircularTabView from 'react-native-circular-tabs';

<CircularTabView tabs={tabs} renderTab={renderTab} activeTab={activeTab} animated cyclicSwipeEnable onTabActive={setActiveTab} />

Props
  • tabs: any[]; // Array of tabs data
  • activeTab?: number; // index of active tab
  • animated?: boolean; // showing tab switching be animated when activetab changes
  • cyclicSwipeEnable?: boolean; // allow cyclic tabs
  • renderTab: (tab: any) => React.ReactElement; // tab content
  • onTabActive: (index: number) => void; // on actiev tab changes by swiping

About

A react native library to add tabs in your app with cyclic swipes. It also supports dynamically add and remove tabs

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages