A tab component for react.
npm install reactjs-tabs
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>
);
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.
Any support is welcome. You can give the project a star, if you liked it ⭐
Feel free to contribute.
MIT