0.7.1 • Published 1 year ago
@ausbom/time-scrubber v0.7.1
@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
1 year ago
0.7.0
1 year ago
0.6.0
1 year ago
0.5.10
1 year ago
0.5.9
1 year ago
0.5.8
2 years ago
0.5.7
2 years ago
0.5.6
2 years ago
0.5.5
2 years ago
0.5.4
3 years ago
0.5.3
3 years ago
0.5.2
3 years ago
0.5.1
3 years ago
0.5.0
3 years ago
0.4.1
3 years ago
0.4.0
3 years ago
0.3.9
3 years ago
0.3.11
3 years ago
0.3.10
3 years ago
0.3.8
4 years ago
0.3.7
4 years ago
0.3.6
4 years ago
0.3.5
4 years ago
0.3.4
4 years ago
0.3.3
4 years ago
0.3.2
4 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.11
5 years ago
0.1.10
5 years ago
0.1.9
5 years ago
0.1.8
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.2
5 years ago
0.1.3
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago