![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
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
breadcrumb ui component for react
The npm package bee-breadcrumb receives a total of 35 weekly downloads. As such, bee-breadcrumb popularity was classified as not popular.
We found that bee-breadcrumb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.