bsr-tabs
v1.2.28
Published
ReactJS component tabs
Downloads
1
Readme
bsr-tabs
ReactJS component tabs
Install
npm install --save bsr-tabs
Usage
import React from "react";
import {Tab, Tabs} from "bsr-tabs"
import 'bsr-tabs/dist/index.css'
export default function App() {
return (
<Tabs style={{width:'50%'}}>
<Tab title={'tab1'} select={true}>
<div>Tab1</div>
</Tab>
<Tab title={'tab2'}>
<div>Tab2</div>
</Tab>
</Tabs>
)
}
License
MIT © ionson100