1.0.13 • Published 5 years ago

react-timeline-semantic-ui v1.0.13

Weekly downloads
35
License
-
Repository
github
Last release
5 years ago

react-timeline-semantic-ui

Introduction

This react timeline component is built with Semantic UI react. For more information about Semantic UI React, please visit this link.

picture

Installation

npm install react-timeline-semantic-ui --save

Usage

import Timeline from 'react-timeline-semantic-ui';

<Timeline
  direction="left"
  icon="user"
  title="Title"
  time="Time"
  description="Description."
  color="red"
  tags={['tag1', 'tag2']}
  lineHeight={4}
/>

Timeline props

NameTypeDescription
titlestringThe title of this timeline component.
directionenumEnums: 'left', 'right'. It specifies which way the timeline component locates.
iconstringThe name of the icon. Please refer to icon.
timestringThe time of this timeline card.
descriptionstringThe description of this timeline card.
colorenumOptional, default color is 'grey'. Enums: 'red', 'orange', 'yellow', 'olive', 'green', 'teal', 'blue', 'violet', 'purple', 'pink', 'brown', 'grey', 'black'. It specifies the color of icon and the timeline card.
tagsarrayAn array of strings.
lineHeightnumberThe height of middle line going through icons. The number refers to the number of timeline cards.
labelColorenumOptional. Same enum values as color. The color of top label of the timeline component.
lineColorenumOptional. Same enum values as color. The color of middle line of the timeline component.
1.0.13

5 years ago

1.0.12

6 years ago

1.0.10

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.0

6 years ago