Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@atul15r/react-tabs
Advanced tools
React-Tabs is an animated tab navigation component which is designed for react app.
# If you use npm:
npm i @atul15r/react-tabs
# If you use yarn:
yarn add @atul15r/react-tabs
ES6 Usage
import { Tabs } from '@atul15r/react-tabs';
Commonjs Usage
var Tabs = require('@atul15r/react-tabs');
<Tabs tabs={tabs} />
import React from 'react';
import { Tabs } from '@atul15r/react-tabs';
const tabs = [
{
title: "TypeScript",
{
title: "JavaScript",
},
];
const App = () => {
return (
<Tabs
tabs={tabs}
tabStyle={{
background: `#fff`,
font-weight: 500,
color: "#333"
}}
/>
);
};
export default App;
name | type | required | default | description |
---|---|---|---|---|
tabs | array | true | [] | it takes an array of object { title: string | ReactNode }[] |
tabsClassName | string | false | undefined | add any custom class you want |
tabsStyle | object | false | undefined | wrapperStyle= {{ background:"#ccc", color:"#999", ...etc }} |
tabClassName | string | false | undefined | add any custom class you want |
tabStyle | object | false | undefined | itemStyle= {{ padding:4, }} |
borderStyle | object | false | undefined | borderStyle= {{ background:#6b6b6b, }} |
borderClassName | string | false | undefined | add any custom class you want |
onChange | function | false | undefined | onChange={(tabIndex)=>setCurrentTab(tabIndex)} |
FAQs
React Tab Navigations Component
The npm package @atul15r/react-tabs receives a total of 18 weekly downloads. As such, @atul15r/react-tabs popularity was classified as not popular.
We found that @atul15r/react-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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.