
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
bee-breadcrumb
Advanced tools
Breadcrumb 常用来指定当前页面位置,添加类active类激活Breadcrumb.Item.不要同时设置active和href,设置了active会将子元素渲染成span,覆盖a.
使用单独的bee-breadcrumb包
先进行下载bee-breadcrumb包
npm install --save bee-breadcrumb
组件调用
import Alert from 'bee-breadcrumb';
React.render(<div>
<Breadcrumb>
<Breadcrumb.Item href="#">
Home
</Breadcrumb.Item>
<Breadcrumb.Item href='http://getbootstrap.com/components/#breadcrumbs'>
Library
</Breadcrumb.Item>
<Breadcrumb.Item active>
Data
</Breadcrumb.Item>
</Breadcrumb>
</div>, document.getElementById('target'));
<link rel="stylesheet" href="./node_modules/build/bee-breadcrumb.css">
import "./node_modules/src/Breadcrumb.scss"
//或是
import "./node_modules/build/bee-breadcrumb.css"
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| active | 如果设置成true,渲染成span而不是a | bool | false |
| href | 给内部a标签设置的属性 | string | '' |
| title | 给内部a标签设置的属性 | string | '' |
$ git clone https://github.com/tinper-bee/bee-breadcrumb
$ cd bee-breadcrumb
$ npm install
$ npm run dev
FAQs
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
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.