Home Reference Source

Variable

Static Public Summary
public

The persistor object from redux-persist.

public

The initial state of the Settings Redux store.

public

The Redux store.

public

The initial state of the UI Redux store.

Static Public

public persistor: Object source

import {persistor} from 'pokedex-net-client/src/stores/index.js'

The persistor object from redux-persist.

public settingsDefaultState: Object source

import {settingsDefaultState} from 'pokedex-net-client/src/stores/settings/index.js'

The initial state of the Settings Redux store.

Properties:

NameTypeAttributeDescription
lang string
  • default: en

The page language.

theme string
  • default: dark

The color theme used.

public store: Object source

The Redux store.

public uiDefaultState: Object source

import {uiDefaultState} from 'pokedex-net-client/src/stores/ui/index.js'

The initial state of the UI Redux store.

Properties:

NameTypeAttributeDescription
modalContent null | React.Component
  • default: null

The React Component loaded into the modal.

modalVisible boolean
  • default: false

Whether or not the modal is visible.

sidebarOpen boolean
  • default: false

Whether or not the sidebar is open.

metrics Object

Object of layout metric variables.

metrics.headerHeight number
  • default: 72

Height of header.

metrics.windowWidth number
  • default: 0

Width of widnow.