Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
zan-breadcrumb-nav
Advanced tools
这是一个微商城顶部面包屑通用组件。
:::demo 基础用法
import BreadcrumbNav from 'zan-breadcrumb-nav';
class Simple extends React.Component {
render() {
const navs = [
{ id: 'dashboard', name: '首页', href: '#dashboard' },
{ id: 'app', name: '应用中心', href: '#app' },
{ id: 'ump', name: '营销中心', href: '#ump' }
];
const activeNav = 'app';
return (
<div>
<BreadcrumbNav navs={navs} activeNav={activeNav} />
</div>
);
}
}
ReactDOM.render(
<Simple />
, mountNode
);
:::
参数 | 说明 | 类型 | 默认值 | 备选值 | 是否必填 |
---|---|---|---|---|---|
className | 自定义额外类名 | string | '' | '' | false |
prefix | 自定义前缀 | string | 'rc' | '' | false |
navs | 面包屑内容 | array | true | ||
activeNav | active的Item | string | false |
FAQs
The npm package zan-breadcrumb-nav receives a total of 0 weekly downloads. As such, zan-breadcrumb-nav popularity was classified as not popular.
We found that zan-breadcrumb-nav 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.