Socket
Socket
Sign inDemoInstall

@hi-ui/timeline

Package Overview
Dependencies
18
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @hi-ui/timeline

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


Version published
Weekly downloads
50
increased by61.29%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

@hi-ui/timeline

TODO: description

Usage

const Timeline = require('@hi-ui/timeline');

// TODO: DEMONSTRATE API

Props

参数说明类型可选值默认值
type时间轴类型string'default' | 'right' | 'cross''default'
data时间轴数据TimelineGroupItem[] | TimelineDataItem[]--

Type

TimelineGroupItem

参数说明类型可选值默认值
groupTitle分组标题string | ReactNode--
children标题下集合TimelineDataItem[]--

TimelineDataItem

参数说明类型可选值默认值
title标题string | ReactNode--
content内容信息string | ReactNode--
timestamp时间点string--
extraTime额外展示时间点string--
icon自定义图标ReactNode--
children子节点集合TimelineDataItem[]--

CHANGELOG

参数变更类型变更内容解决的问题
iconupdateicon 不再支持 string 模式Timeline 组件与 Icon 组件真正解耦

FAQs

Last updated on 12 Apr 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc