
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
deku-tab-control
Advanced tools
Simple tab control component for deku.
npm install deku-tab-control
import TabControl from 'deku-tab-control';
export function render () {
const items = [
{ text: 'Tab 1', content: <div>Tab 1 content</div> },
{ text: 'Tab 2', content: <div>Tab 2 content</div> },
{ text: 'Tab 3', content: <div>Tab 3 content</div> }
];
// optional onChange event
const onChange = ({ clickedIndex }) => {
console.log(`you clicked index ${clickedIndex}`)
};
return <TabControl activeTabIndex={0} items={items} onChange={onChange} removeOnHide={true} />;
}
Set initial active tab index
If set to true, only the active tab content will be rendered. Defaults to show/hide with css.
FAQs
Tab control deku component
The npm package deku-tab-control receives a total of 0 weekly downloads. As such, deku-tab-control popularity was classified as not popular.
We found that deku-tab-control demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.