Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
@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 10,609 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 0 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
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.