
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
faster-react-tabs
Advanced tools
A faster React tab component that doesn't use DOM refs. Written in ES6, transpiles down to ES5
refs
.$ npm i faster-react-tabs --save
Get the example running locally:
$ cd faster-react-tabs/
$ npm install
$ npm run build
$ npm run watch
Tabs
component$ npm i faster-react-tabs --save
'use strict'
import React from 'react';
import Tabs from 'faster-react-tabs';
import ExampleContent from '../components/example-content/index.jsx';
const YourThing = React.createClass({
render() {
const sections = [
{
title: 'Tab 1',
content: <ExampleContent image='images/1.jpeg' text='This is in tab 1. It is a whole other component! Entire components can be passed down into each tab.' />
},
{
title: 'Tab 2',
content: 'Tab 2 content'
},
{
title: 'Tab 3',
content: 'Tab 3 content'
}
];
return (
<Tabs sections={sections} />
);
}
});
export default YourThing;
FAQs
A faster React tab component that doesn't use DOM refs. Written in ES6, transpiles down to ES5
The npm package faster-react-tabs receives a total of 0 weekly downloads. As such, faster-react-tabs popularity was classified as not popular.
We found that faster-react-tabs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.