0.7.1 • Published 2 months ago

@ausbom/time-scrubber v0.7.1

Weekly downloads
97
License
MIT
Repository
github
Last release
2 months ago

@ausbom/time-scrubber

The TimeScrubber component provides a UI for playing back and scrubbing through a number of discrete time steps. It's primarily used to scrub through map layers.

Installation

npm install @ausbom/time-scrubber

Usage

import TimeScrubber from '@ausbom/time-scrubber'
import React from 'react'
;<TimeScrubber
  onChange={(timeStep: string) => {
    this.setState({
      activeStep: timeStep,
    })
  }}
  activeStep={this.state.activeStep}
  timeSteps={[
    {
      id: '1',
      displayLabel: '1 hour 15 minutes ago',
    },
    {
      id: '2',
      displayLabel: '1 hour ago',
    },
    {
      id: '3',
      displayLabel: '45 minutes ago',
    },
  ]}
/>
0.7.1

2 months ago

0.7.0

2 months ago

0.6.0

2 months ago

0.5.10

4 months ago

0.5.9

4 months ago

0.5.8

8 months ago

0.5.7

8 months ago

0.5.6

11 months ago

0.5.5

1 year ago

0.5.4

2 years ago

0.5.3

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.9

2 years ago

0.3.11

2 years ago

0.3.10

2 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.2

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago