Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@hi-ui/stepper
Advanced tools
@hi-ui/stepper
TODO: description
const Stepper = require('@hi-ui/stepper');
// TODO: DEMONSTRATE API
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
type | 步骤条项节点类型 | string | 'default' | 'dot' |
data | 步骤数据项源 | StepperItem[] | - | - |
current | 当前步骤位置索引,从 1 开始计数 | number | - | - |
placement | 水平或垂直展示步骤条 | string | 'vertical' | 'horizontal' | 'horizontal' |
itemLayout | 步骤项的布局方式 | string | 'vertical' | 'horizontal' | 'horizontal' |
onChange | 点击切换步骤时触发 | (current: number) => void | - | - |
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
title | 步骤项标题 | ReactNode | - | - |
content | 步骤项内容 | ReactNode | - | - |
icon | 步骤项 icon | ReactNode | - | - |
参数 | 变更类型 | 变更内容 | 解决的问题 |
---|---|---|---|
type | deprecated | 移除type字段,改为原子化引用 | 建议还是恢复为type形态,这个变更意义不是特别大 |
icon | update | icon 不再支持 string 模式 | Stepper 组件与 Icon 组件真正解耦 |
FAQs
A sub-package for @hi-ui/hiui.
We found that @hi-ui/stepper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.