increaser-timeline
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

increaser-timeline

NPM

alt text

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}
      />
    )
  }
}

License

MIT © RodionChachura

Readme

Keywords

none

Package Sidebar

Install

npm i increaser-timeline

Weekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

1.09 MB

Total Files

8

Last publish

Collaborators

  • geekrodion