React Timelines Library
# with npm npm install react-timelines
or with Yarn
yarn add react-timelines
import Timeline from 'react-timelines'
const MyWidget = () =>
export default MyWidget
Using Webpack with CSS loader, add the following:
Using Sass you can configure the timeline with variables:
$react-timelines-font-family: MaryAnn; $react-timelines-sidebar-width: 320px;
Create a CSS file with the contents of
react-timelines/lib/css/style.cssand include it in
npm install npm run watch
This library is developed using VSCode - opening it in VSCode will recommend extensions, and enable linting and auto-formatting of code.