Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@hi-ui/breadcrumb
Advanced tools
@hi-ui/breadcrumb
TODO: description
const Breadcrumb = require('@hi-ui/breadcrumb');
// TODO: DEMONSTRATE API
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
data | 面包屑数据 | string | BreadcrumbItemProp [] | - |
separator | 自定义分隔符 | string | - | '/' |
名称 | 说明 | 类型 | 参数 | 返回值 |
---|---|---|---|---|
onClick | 点击回调函数 | (e: React.MouseEvent, item: BreadcrumbItemProps, index: number) => void | - |
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
title | 面包屑的内容 | ReactNode | - | - |
href | 设置按钮链接,设置后将用 a 标签渲染按钮 | string | - | 1 |
target | 同 a 标签的 target 属性,仅在设置 href 后有效 | string | ︎'_self' | '_blank' |
icon | 自定义图标 | ReactNode | - | 2 |
参数 | 变更类型 | 变更内容 | 解决的问题 |
---|---|---|---|
BreacrumbItem.path | deprecate | 不需要,暴露整个 item | |
onClick | update | 参数变化,能力增强 |
FAQs
A sub-package for @hi-ui/hiui.
We found that @hi-ui/breadcrumb 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
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.