2.2.0 • Published 3 years ago
react-timelines-updated v2.2.0
React Timelines
Original repo: react-timelines (JSainsburyPLC).
Install
npm install react-timelines-updatedFeel free to replace npm with whatever package manager you are using.
Use
import Timeline from 'react-timelines-updated'
const MyWidget = () => <Timeline {...props} />
export default MyWidgetStyling
Using Webpack
Using Webpack with CSS loader, add the following:
import 'react-timelines-updated/lib/css/style.css'Using Sass (SCSS)
Using Sass you can configure the timeline with variables:
$react-timelines-font-family: MaryAnn;
$react-timelines-sidebar-width: 320px;
@import '~/react-timelines-updated/src/scss/style';Without build tools
Create a CSS file with the contents of react-timelines-updated/lib/css/style.css and include it in <head>
Development
npm install
npm run watchThis library is developed using VSCode - opening it in VSCode will recommend extensions, and enable linting and auto-formatting of code.
2.2.0
3 years ago
2.1.3
3 years ago
2.1.3-next.1
3 years ago
2.1.2
3 years ago
2.1.1
3 years ago
2.1.0
3 years ago
2.1.0-next.2
3 years ago
2.1.0-next.1
3 years ago
2.0.4
3 years ago
2.0.3
3 years ago
2.0.0-development
3 years ago
2.0.0
3 years ago