Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

vahidvdn/reactjs-tabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

A tab component for react.

Installation

npm install reactjs-tabs

Usage

Import components:

import { Tabs, Tab } from 'reactjs-tabs';

Use within your jsx:

const App = () => (
  <div>
    <Tabs backgroundColor="#ccc" borderColor="blue">
      <Tab title="first title">Helloooo This is the first Tab.</Tab>
      <Tab title="second title" active="true">This is the second tab!!!</Tab>
      <Tab title="third title">Also this is the third tab that going to be displayed! ha ha!!</Tab>
    </Tabs>
  </div>
);

Development

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

Support

Any support is welcome. You can give the project a star, if you liked it ⭐

Contribute

Feel free to contribute.

License

MIT

About

A tab component for react

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published