2.7.7 • Published 11 months ago

target-tech-timelines v2.7.7

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

React Timelines

Demo

Install

# with npm
npm install target-tech-timelines

# or with Yarn
yarn add target-tech-timelines

Use

import Timeline from 'target-tech-timelines'

const MyWidget = () => <Timeline {...props} />

export default MyWidget

Styling

Using Webpack

Using Webpack with CSS loader, add the following:

import 'target-tech-timelines/lib/css/style.css'

Using Sass (SCSS)

Using Sass you can configure the timeline with variables:

$target-tech-timelines-font-family: MaryAnn;
$target-tech-timelines-sidebar-width: 320px;

@import '~/target-tech-timelines/src/scss/style';

Without build tools

Create a CSS file with the contents of target-tech-timelines/lib/css/style.css and include it in <head>

Development

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.

2.7.7

11 months ago

2.7.6

11 months ago

2.7.5

11 months ago

2.7.4

11 months ago