add default rangeLimits

This commit is contained in:
Lachlan Kermode
2020-07-21 10:05:01 +02:00
parent 296332118c
commit 8edad609f7

View File

@@ -72,6 +72,10 @@ const initial = {
new Date(2001, 2, 23, 12),
new Date(2021, 2, 23, 12)
],
rangeLimits: [
new Date(1, 1, 1, 1),
new Date()
],
zoomLevels: [
{ label: '20 years', duration: 10512000 },
{ label: '2 years', duration: 1051200 },