0.0.8 • Published 2 years ago

react-timeline v0.0.8

Weekly downloads
8
License
GPL-3.0
Repository
github
Last release
2 years ago

React Timeline

A simple and customizable timeline component for react apps with additional dependencies written in Typescript.

See the Live Demo

Installation

npm install react-timeline --save 

Peer Dependencies

DependencyVersion
React^17.0.2
Styled Components^5.3.3

Example Usage

import Timeline, { TimelineProps, ITimelineEvent } from 'react-timeline';

interface Props {
  events: ITimelineEvent[]
}

// Optionally define the theme 
const theme = { }; 

const MyComponent = ({ events }: ): JSX.Element => (
  <Timeline 
      events={events} 
      height={600}
      showHeader 
      showDetailPanel
      theme={theme}
  />, 
); 
0.0.1

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.1.1

10 years ago