1.0.19 • Published 10 months ago
reactjs-tabbedpane-component v1.0.19
reactjs-tabbedpane-component
A tabbed pane component using React.js
Install
npm install --save reactjs-tabbedpane-component
Usage
import React, { Component } from 'react'
import TabbedPane from 'reactjs-tabbedpane-component'
import 'reactjs-tabbedpane-component/dist/index.css'
const contentData = {
contents: [
{
subject: 'Overview',
text: 'This is content of Overview'
},
{
subject: 'Assumptions',
text: '<ul><li>Assumption 1</li><li>Assumption 2</li><li>Assumption 3</li><li>Assumption 4</li></ul>'
},
{
subject: 'Technical Design',
text: 'This is content of Technical Design'
}
]
}
class Example extends Component {
render() {
return <TabbedPane data={contentData} />
}
}
API
<TabbedPane>
props
- data: JSON defining the tabs. HTML tags are supported.
License
MIT © adafycheng
1.0.19
10 months ago
1.0.18
10 months ago
1.0.17
12 months ago
1.0.16
1 year ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago