Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
bee-badge
Advanced tools
用来醒目的展示新的或未读的信息条目
$ git clone https://github.com/tinper-bee/bee-badge
$ cd bee-badge
$ npm install
$ npm run dev
使用单独的bee-badge包
先进行下载bee-badge包
npm install --save bee-badge
组件调用
import Badge from 'bee-badge';
React.render(<div>
<div>
<Badge color="primary">a</Badge>
</div>
</div>, document.getElementById('target'));
<link rel="stylesheet" href="./node_modules/build/bee-badge.css">
import "./node_modules/src/Badge.scss"
//或是
import "./node_modules/build/bee-badge.css"
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
color | one of: primary success info error warning dark | string | '' |
className | 增加额外的class | string | '' |
FAQs
bee-badge ui component for react
The npm package bee-badge receives a total of 54 weekly downloads. As such, bee-badge popularity was classified as not popular.
We found that bee-badge 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.