1.1.1 • Published 6 years ago

react-native-tab-barview-animation v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

React Native Tab Bar View Animated

Get Started

Installation

npm i react-native-tab-barview-animation

Usage

import { TabBar } from 'react-native-tab-barview-animation';

<TabBar
  views={[<ScreenOne/>, <ScreenTwo/>, <ScreenThree/>]}
  style={{backgroundColor: 'white', borderTopWidth: 0}}
  iconConfig={{
      icons: ['ios-home', 'ios-person', 'ios-home'],
      labels: ['Home', 'Profile', 'Test'],
      labelVisible: false,
      activeColor: '#4d97ff',
      inactiveColor: '#595959'
  }}
  transitionConfig={{
      transition: 'slide'
  }}
/>

Props

PropertyTypeisRequired?DefaultDescription
viewscomponentrequired-components to render
style-optional-tab bar style
iconConfig[icons]string arrayrequired-icons in tab
iconConfig[labels]string arrayoptional-labels in tab
iconConfig[labelVisible]boolrequired-toggle labels on/off
iconConfig[activeColor]stringrequired-icon active color
iconConfig[inactiveColor]stringrequired-icon inactive color
transitionConfig[transition]stringrequired-transition used

Transitions

Snap Fade Slide

1.1.1

6 years ago

1.1.0

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago