Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface defining the state of a TabBar component.

Hierarchy

  • TabBarState

Index

Properties

isModalVisable

isModalVisable: boolean

True if visible, false otherwise.

keys

keys: number[]

Array of unique identifiers for each tab. We will use these to set the "key" prop of each Tab component which React uses for rendering.

nextKey

nextKey: number

Counter that gets incremented with each new tab, and NEVER decremented.

selectedTabIdx

selectedTabIdx: number

The index of the selected tab.

tabs

tabs: string[]

Array with one entry for each tab to be rendered.

types

types: string[]

Array where each entry corresponds to the type of tab to be rendered. Each entry at each index corresponds to the type of tab of the entry at the same index in the tabs array.

Generated using TypeDoc