react-scrollable-timeline

1.1.0 • Public • Published

react-scrollable-timeline

demo (https://tinystuff.github.io/react-scrollable-timeline/storybook-static/)

npm install react-scrollable-timeline
const events = [{
    start: Date,
    end: Date,
    groupId: 'groupId',
    title: 'eventtitle'
}];

<Timeline
    events={events}
    groups={groups}
    groupKey={"groupId"}
  />

Props

interface TimeLineProps {
  events: Event[]
  groups?: Groups
  groupKey?: string
  startDate?: Date
  endDate?: Date
  width?: number
  interval?: number
  resourceHeaderWidth?: number
  getGroupData?: any
  resourceNode: any
  itemNode?: any
  dateNode?: any
  onEventClick?: (Event) => void
}

Readme

Keywords

none

Package Sidebar

Install

npm i react-scrollable-timeline

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

81.5 kB

Total Files

31

Last publish

Collaborators

  • matst80