
Security News
NVD Quietly Sweeps 100K+ CVEs Into a “Deferred” Black Hole
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.
@zendeskgarden/react-tabs
Advanced tools
Components and render prop containers relating to the Garden Design System.
This package includes several varieties of Tabs relating to the Garden Design System.
npm install @zendeskgarden/react-tabs
# Peer Dependencies - Also Required
npm install react react-dom styled-components @zendeskgarden/react-theming
import React, { useState } from 'react';
import { ThemeProvider } from '@zendeskgarden/react-theming';
import { Tabs } from '@zendeskgarden/react-tabs';
const Example = () => {
const [selectedTab, setSelectedTab] = useState('tab-1');
/**
* Place a `ThemeProvider` at the root of your React application
*/
return (
<ThemeProvider>
<Tabs selectedItem={selectedTab} onChange={setSelectedTab}>
<Tabs.TabList>
<Tabs.Tab item="tab-1">Tab 1</Tabs.Tab>
<Tabs.Tab item="tab-2">Tab 2</Tabs.Tab>
<Tabs.Tab disabled>Disabled Tab</Tabs.Tab>
<Tabs.Tab item="tab-3">Tab 3</Tabs.Tab>
</Tabs.TabList>
<Tabs.TabPanel item="tab-1">Tab 1 content</Tabs.TabPanel>
<Tabs.TabPanel item="tab-2">Tab 2 content</Tabs.TabPanel>
<Tabs.TabPanel item="tab-3">Tab 3 content</Tabs.TabPanel>
</Tabs>
</ThemeProvider>
);
};
FAQs
Components and render prop containers relating to the Garden Design System.
The npm package @zendeskgarden/react-tabs receives a total of 7,978 weekly downloads. As such, @zendeskgarden/react-tabs popularity was classified as popular.
We found that @zendeskgarden/react-tabs demonstrated a healthy version release cadence and project activity because the last version was released less than 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
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.
Research
Security News
Lazarus-linked threat actors expand their npm malware campaign with new RAT loaders, hex obfuscation, and over 5,600 downloads across 11 packages.
Security News
Safari 18.4 adds support for Iterator Helpers and two other TC39 JavaScript features, bringing full cross-browser coverage to key parts of the ECMAScript spec.