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

@hi-ui/breadcrumb

Package Overview
Dependencies
Maintainers
0
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hi-ui/breadcrumb

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

  • 4.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@hi-ui/breadcrumb

TODO: description

Usage

const Breadcrumb = require('@hi-ui/breadcrumb');

// TODO: DEMONSTRATE API

Props

参数说明类型可选值默认值
data面包屑数据stringBreadcrumbItemProp []-
separator自定义分隔符string-'/'

Events

名称说明类型参数返回值
onClick点击回调函数(e: React.MouseEvent, item: BreadcrumbItemProps, index: number) => void-

BreadcrumbItemProp

参数说明类型可选值默认值
title面包屑的内容ReactNode--
href设置按钮链接,设置后将用 a 标签渲染按钮string-1
target同 a 标签的 target 属性,仅在设置 href 后有效string︎'_self''_blank'
icon自定义图标ReactNode-2

CHANGELOG

参数变更类型变更内容解决的问题
BreacrumbItem.pathdeprecate不需要,暴露整个 item
onClickupdate参数变化,能力增强

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