bee-timeline
Timeline ui component for react
Last updated 6 months ago by tinper-bot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bee-timeline 
SYNC missed versions from official npm registry.

bee-timeline

npm version Build Status Coverage Status devDependency Status NPM downloads Average time to resolve an issue Percentage of issues still open

常用于当一系列的信息按时间排序的时候或者做个可视化的连接

使用

使用单独的bee-timeline包

组件引入

先进行下载bee-timeline包

npm install --save bee-timeline
import Timeline from 'bee-timeline';
class Demo1 extends Component {
    render () {
        return (
            <Timeline>
                <Timeline.Item>Create a services site 2015-09-01</Timeline.Item>
                <Timeline.Item>Solve initial network problems 2015-09-01</Timeline.Item>
                <Timeline.Item>Technical testing 2015-09-01</Timeline.Item>
                <Timeline.Item>Network problems being solved 2015-09-01</Timeline.Item>
            </Timeline>
        )
    }
}

render(Demo1,document.getElementById('app'));

API

Timeline

Property Description Type Default
pending 设置最后一个虚线节点 (boolean,string,ReactNode) -

Timeline.item

Property Description Type Default
color 设置圆环的颜色 (blue,blue,green)或者其他自定义颜色 -
dot 自定义的时间节点 string,ReactNode -

开发调试

$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/bee-timeline
$ cd bee-timeline
$ npm install
$ npm run dev

Current Tags

  • 2.0.2                                ...           latest (6 months ago)

9 Versions

  • 2.0.2                                ...           6 months ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Downloads
Today 0
This Week 37
This Month 411
Last Day 37
Last Week 287
Last Month 1,258
Dependencies (4)
Dev Dependencies (13)

Copyright 2014 - 2017 © taobao.org |