refactor period (rolling/calender) to periodType
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import * as React from "react";
|
||||
|
||||
export type DashboardMode = "expense" | "income";
|
||||
export type DashboardPeriod = "rolling" | "calendar";
|
||||
export type DashboardPeriodType = "rolling" | "calendar";
|
||||
|
||||
export interface DashboardState {
|
||||
mode: DashboardMode;
|
||||
period: DashboardPeriod;
|
||||
periodType: DashboardPeriodType;
|
||||
comparison: boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user