Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hi-ui/stepper

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hi-ui/stepper

A sub-package for @hi-ui/hiui.

  • 4.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@hi-ui/stepper

TODO: description

Usage

const Stepper = require('@hi-ui/stepper');

// TODO: DEMONSTRATE API

Props

参数说明类型可选值默认值
type步骤条项节点类型string'default''dot'
data步骤数据项源StepperItem[]--
current当前步骤位置索引,从 1 开始计数number--
placement水平或垂直展示步骤条string'vertical' | 'horizontal''horizontal'
itemLayout步骤项的布局方式string'vertical' | 'horizontal''horizontal'
onChange点击切换步骤时触发(current: number) => void--

Type

StepperItem

参数说明类型可选值默认值
title步骤项标题ReactNode--
content步骤项内容ReactNode--
icon步骤项 iconReactNode--

CHANGELOG

参数变更类型变更内容解决的问题
typedeprecated移除type字段,改为原子化引用建议还是恢复为type形态,这个变更意义不是特别大
iconupdateicon 不再支持 string 模式Stepper 组件与 Icon 组件真正解耦

FAQs

Package last updated on 03 Jul 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc