import createStore from 'unistore' ; import { StoreProps } from '../common/interfaces' ; const initialState = { mapViewFilter : 'rain' , mapWaterNeedFilter : null , isNavOpen : true , visibleMapLayer : 'trees' , ageRange : [ 0 , 320 ] , overlay : true , mapFocusPoint : null , } ; const store = createStore < StoreProps > ( initialState ) ; export default store ;