1.1.2 • Published 3 years ago

react-tab-indicator v1.1.2

Weekly downloads
13
License
MIT
Repository
github
Last release
3 years ago

react-tab-indicator

npm GitHub stars Conventional Commits

A High performance Tab with Indicator based React component

Installation

with npm

npm i react-tab-indicator

or with yarn

yarn add react-tab-indicator

Usage

import React from "react";
import ReactTabIndicator from "react-tab-indicator";

<ReactTabIndicator
  items={["Japanese", "English", "Chinese"]}
  borderColor={"yellow"}
  tranfromSpeed={300}
  onClick={handleOnClick}
/>;

Props

NameTypeRequiredDescription
itemsstring ArraytrueThe labels of Tab
borderColorstringfalseThe color of Indicator
borderHeightnumberfalseThe height of Indicator
transformSpeednumberfalseThe speed of transform Indicator
onClickFunctiontrueThe funcation when click a Tab
1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago