import { EIssuesStoreType } from "constants/issue"; import { ProjectEmptyState } from "./project-issues"; import { ProjectViewEmptyState } from "./project-view"; import { ProjectArchivedEmptyState } from "./archived-issues"; import { CycleEmptyState } from "./cycle"; import { ModuleEmptyState } from "./module"; import { ProjectDraftEmptyState } from "./draft-issues"; import { GlobalViewEmptyState } from "./global-view"; interface Props { storeType: EIssuesStoreType; } export const IssueLayoutEmptyState = (props: Props) => { switch (props.storeType) { case EIssuesStoreType.PROJECT: return ; case EIssuesStoreType.PROJECT_VIEW: return ; case EIssuesStoreType.ARCHIVED: return ; case EIssuesStoreType.CYCLE: return ; case EIssuesStoreType.MODULE: return ; case EIssuesStoreType.DRAFT: return ; case EIssuesStoreType.GLOBAL: return ; default: return null; } };