Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
react-bootstrap-tabs
Advanced tools
This is a react component to render tabs using Bootstrap 4 classes. You should have Bootstrap 4 installed already in your app.
All of the features are demonstrated on the demo site so please see the source file:
https://github.com/freeranger/react-bootstrap-tabs-demo/blob/master/app/App.js
for examples of how to use it in your own applications.
npm install react-bootstrap-tabs --save
With ES2015:
import {Tabs, Tab} from 'react-bootstrap-tabs';
<Tabs onSelect={(index, label) => console.log(label + ' selected')}>
<Tab label="Tab1">Tab 1 content</Tab>
<Tab label="Tab2">Tab 2 content</Tab>
</Tabs>
npm install
npm test
or npm run testonly
or npm run test-watch
. Write tests in the tests
folder. You need at least Node 4 on your machine to run tests.npm test
or npm run lint
. Fix bugs: npm run lint-fix
. You can adjust your .eslintrc
config file.dist
folder: npm run prepublish
(standard npm hook).MIT
FAQs
react tabs component using bootstrap 4
The npm package react-bootstrap-tabs receives a total of 511 weekly downloads. As such, react-bootstrap-tabs popularity was classified as not popular.
We found that react-bootstrap-tabs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.