Tabs

Generate a tab by providing an array.

JSON Example

{
  "vizName": "tabs",
  "dataSourceID": "RPT.ADC.ThunderDashBoardTabs",
  "showAll": true
}

Props

Name

Type

Default Value

Required

Description

data

string[]

[]

no

Tab's data source. Tab titles will be ordered in the same sequence as array.

showAll

boolean

true

no

Set true to show "Show All" on right side of tabs. False to omit rendering of "Show All"

color

string

'#686868'

no

Set the font color of tabs with this prop value.

borderBottomColor

string

'4a90e2'

no

Set the bottom underline tab color with this prop value.

dispatchAction

string

'VIZ.TABS.CLICK'

no

Set the dispatch action. Default action is 'VIZ.TABS.CLICK'

Usage Example

Data Structure

string[]

Data Structure Example

Actions

VIZ.TABS.CLICK

Name

Type

Description

type

string

The action type

tabName

string

Name of tab

Last updated

Was this helpful?