
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
bee-loading-state
Advanced tools
bee-loading-state 组件常用于在按钮上加载状态
$ git clone https://github.com/tinper-bee/bee-loading-state
$ cd bee-loading-state
$ npm install
$ npm run dev
loading-state依赖于button,使用loading-state还需把button组件down下来
$ npm install bee-loading-state
$ npm run dev
先进行下载loading-state包
npm install --save bee-loading-state
组件调用
import LoadingState from 'bee-loading-state';
React.render(<div>
<div>
<LoadingState loadingTime="4000" loadingText="loading...">Confirm</LoadingState>
</div>
</div>, document.getElementById('target'));
<link rel="stylesheet" href="./node_modules/build/LoadingState.css">
import "bee-loading-state/build/LoadingState.css"
(tinper-bee组件库使用方法)[]
button的参数在loading-state同样适用,可以使用其他Button组件的props,来设置LoadingState组件中按钮的props。 loading-state扩展的参数如下。
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| className | 类名 | string | - |
| loadingText | 自定义loading时显示文字内容 | string | loading |
| show | 是否显示loading | boolean | false |
| showBackDrop | 是否显示loading时给button显示遮罩层 | boolean | true |
FAQs
bee-loading-state ui component for react
We found that bee-loading-state 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.