1.0.7 • Published 6 years ago

increaser-timeline v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

increaser-timeline

NPM

alt text

Demo

Install

npm install --save increaser-timeline

Usage

import React from 'react'

import Timeline from 'increaser-timeline'

const Container = ({ children }) => (
  <div style={{ height: '100vh' width: '100%' }}>
    {children}
  </div>
)

// optional
const theme = {
  textColor: 'white',
  backgroundColor: 'rgba(255, 255, 255, 0.14)'
}

class Example extends React.Component {
  constructor(props) {
    super(props)
    this.state = { sets: [] }
  }

  render() {
    const { sets } = this.state
    return (
      <Timeline
        wrapper={Container}
        sets={sets}
      />
    )
  }
}

Story on Medium

License

MIT © RodionChachura

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

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago