Skip to content
Snippets Groups Projects
drawerFixture.ts 849 B
Newer Older
import { DrawerState } from './drawer.types';

export const initialStateFixture: DrawerState = {
  isOpen: false,
  drawerName: 'none',
  searchDrawerState: {
    currentStep: 0,
    stepType: 'none',
    selectedValue: undefined,
  },
};

export const openedDrawerSubmapsFixture: DrawerState = {
  isOpen: true,
  drawerName: 'submaps',
  searchDrawerState: {
    currentStep: 0,
    stepType: 'none',
    selectedValue: undefined,
  },
};

export const drawerSearchStepOneFixture: DrawerState = {
  isOpen: true,
  drawerName: 'search',
  searchDrawerState: {
    currentStep: 1,
    stepType: 'none',
    selectedValue: undefined,
  },
};

export const drawerSearchDrugsStepTwoFixture: DrawerState = {
  isOpen: true,
  drawerName: 'search',
  searchDrawerState: {
    currentStep: 2,
    stepType: 'drugs',
    selectedValue: undefined,
  },
};