Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-tab-bar-footer

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-tab-bar-footer

Navigation tab bar footer component with animation

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-37.5%
Maintainers
1
Weekly downloads
 
Created
Source

npm version npm version

Navigation TabBar footer component for IOS and Android with slide animation which contains tab icon and title.

Installation

yarn add react-native-tab-bar-footer

Usage


import TabBar from 'react-native-tab-bar-footer'
...
  const tabs = [
    {
      icon: star,
      activeIcon: starActive,
      title: 'Favorites'
    },
    {
      icon: play,
      activeIcon: playActive,
      title: 'Play'
    },
    {
      icon: user,
      activeIcon: userActive,
      title: 'Profile'
      
    },
  ]
  render() {
    return <TabBar onTabChange={(index) => alert(index)} tabs={tabs} />
  }

Props

PropDefaultTypeDescription
tabs[]arrayTabs objects
onTabChangeundefinedfunconClick tab
slideSpeed20numbertabBar animation speed
slideBounciness12numbertabBar bounciness
tabSize30numbertab size
barColor'white'colortabBar color
height60numbertabBar height
titleStyle-styletitle custom style
iconStyle-styleicon custom style
animationDuration300numberanimation duration

Tab object structure:

{ icon: string|Object, activeIcon: string|Object, title: string}

Questions or suggestions?

Feel free to open an issue

Keywords

FAQs

Package last updated on 29 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc