0.5.0 • Published 6 years ago

react-wunderbar v0.5.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

react-wunderbar

Build Status NPM version

A react svg component that displays a ruler with major and minor tick marks within a specified range of values. Can show key points of interest as markers and highlight regions of interesting activity on the ruler. Examples

Installation

react-wunderbar can be installed directly through npm:

$ npm install --save react-wunderbar

Usage

import Wunderbar from 'react-wunderbar';

<Wunderbar min={0} max={50} minorTickEvery={1} majorTickEvery={5} currentPoint={5} highlightRegion={[2,4]} interval={15} />

Documentation

react-wunderbar supports changing the range of values, formatting, animating the pointer via react HOC, changing all the colours by supplying new palettes. Full documentation with editable examples and supported properties

Tests

Tests are written in Jest

Roadmap

  • Interactive, set value on the ruler via dragging the pointer
  • Add events to notify value changes
  • Support react-styled components.
0.5.0

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago