react-tab-view
react-tab-view is a simple tabs component using react.js.
Install
npm install react-tab-view --save
Usage
import Tabs Tab from 'react-tab-view'import ReactDOM from 'react-dom'import React Component PropTypes from 'react' { const headers = 'heading 1' 'heading 2'; return <div> <Tabs => <Tab> <p>This is the first content</p> </Tab> <Tab> <p>This is the second content</p> </Tab> </Tabs> </div> } ReactDOM
Versions
1.0.1
Uses React ^0.13.0
1.0.3
Uses React ^0.14.0
Styles
react-tab-view can be used with your own custom styles. A minimal tabs.css style sheet is included as a guide.
Development
npm install
npm test
npm start