Add progress bar to top of page for nicer loading indicator styles

This commit is contained in:
Dane Everitt 2020-04-10 12:41:08 -07:00
parent 708c15eba8
commit d3a06e1ca8
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
12 changed files with 133 additions and 34 deletions

View file

@ -1,9 +1,13 @@
// noinspection ES6UnusedImports
import EasyPeasy from 'easy-peasy';
import EasyPeasy, { Actions, State } from 'easy-peasy';
import { ApplicationStore } from '@/state';
declare module 'easy-peasy' {
export function useStoreState<Result>(
mapState: (state: ApplicationStore) => Result,
mapState: (state: State<ApplicationStore>) => Result,
): Result;
export function useStoreActions<Result>(
mapActions: (actions: Actions<ApplicationStore>) => Result,
): Result;
}