1.0.2 • Published 4 years ago

react-twitter-tabs v1.0.2

Weekly downloads
3
License
MIT
Repository
-
Last release
4 years ago

react-twitter-tabs

A cross-platform Tab View component for ReactJs

npm version

Features

  • Very lightweight
  • High Responsive
  • Highly customizable

Demo

Alt Text

Live Demo

Lets Try The Component with codesandbox

Installation

npm install react-twitter-tabs --save

Quick Start

<Tabs>
  <Tab label={"One"}>{"One Content"}</Tab>

  <Tab label={"Two"}>{"Two Content"}</Tab>

  <Tab label={"Three"}>{"Three Content"}</Tab>

  <Tab label={"Four"}>{"Four Content"}</Tab>

  <Tab label={"Five"}>{"five Content"}</Tab>

  <Tab label={"Six"}>{"Six Content"}</Tab>

  <Tab label={"Seven"}>{"seven Content"}</Tab>

  <Tab label={"Eight"}>{"eight Content"}</Tab>

  <Tab label={"Nine"}>{"nine Content"}</Tab>

  <Tab label={"Ten"}>{"ten Content"}</Tab>

  <Tab label={"Eleven"}>{"eleven Content"}</Tab>
</Tabs>

Props

2-Tabs

Prop nameDescriptionisRequiredtype
activeColorThe Colour of Active indicatorNoString
hoveredColorThe Background Colour of Tab When HoverNoString
textColorThe Colour of Tab Label TextNoString
tabBackgroundColorThe Background Colour of TabNoString
arrowColorThe Colour Next & Previous ArrowNoString
arrowBackGroundColorThe Background Colour Next & Previous ArrowNoString

2-Tab

Prop nameDescriptionisRequiredtype
labelThe Label Of the tabYesString
isTabDisabledSpecify that tab is disabledNoBoolean

Thank you

Make A Review