React Timelines
Install
# with npm npm install react-timelines # or with Yarn yarn add react-timelines
Use
const MyWidget = <Timeline ...props />
Styling
Using Webpack
Using Webpack with CSS loader, add the following:
Using Sass (SCSS)
Using Sass you can configure the timeline with variables:
;; ;
Without build tools
Create a CSS file with the contents of react-timelines/lib/css/style.css
and include it in <head>
Development
npm installnpm run watch
This library is developed using VSCode - opening it in VSCode will recommend extensions, and enable linting and auto-formatting of code.