
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.
![]() | ![]() | ![]() | ![]() | ![]() |
|---|---|---|---|---|
| IE 9+ ✔ | Chrome 31.0+ ✔ | Firefox 31.0+ ✔ | Opera 30.0+ ✔ | Safari 7.0+ ✔ |
当任务复杂或具有子任务的系列一定的序列,我们可以将它分解成几个步骤,让事情变得更容易。
使用单独的bee-step包
先进行下载bee-step包
npm install --save bee-step
```js
import Step from 'bee-step';
const Steps = Step.Steps;
class Demo1 extends Component {
render () {
return (
<Step.Steps current={1}>
<Step title="Finished" description="This is a description." />
<Step title="In Progress" description="This is a description." />
<Step title="Waiting" description="This is a description." />
</Step.Steps>
)
}
}
render(Demo1,document.getElementById('app'));
| Property | Description | Type | Default |
|---|---|---|---|
| status | 自动设置当前step的状态(wait,process,finish,error) | string | - |
| title | step的标题 | (string,ReactNode) | - |
| description | step的细节描述,可选的属性 | (string,ReactNode) | - |
| icon | 设置当前step为icon,可选的属性 | string,ReactNode | - |
| Property | Description | Type | Default |
|---|---|---|---|
| current | 设置当前步骤,从0开始计数。可以使用步骤状态重写此状态。 | number | 0 |
| status | 指定当前步骤的状态(danger,info,news,warning,sucess,process) | string | process |
| size | 设置step bar的大小(default,samll) | string | default |
| direction | 设置step bar的方向(horizontal,vertical) | string | horizontal |
$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/bee-step
$ cd bee-step
$ npm install
$ npm run dev
FAQs
Step ui component for react
We found that bee-step 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.