Selector

JSON Example

Props

Name

Type

Default Value

Required

Description

data

object[]

yes

The indicator's data source. Both single and multiple data(s) are valid

withEmptyItem

boolean

true

no

if true, the first item must be an empty item, defaults to true

labelForEmpty

string

''

no

the default empty label, defaults to ''

Usage Example

import React from 'react'

import { Viz } from 'a10-gui-dgp-viz'

const { Selector } = Viz
export const MyDashboard = () => {
  return (
    <Selector
      data={{...}}
      withEmptyItem={true}
      labelForEmpty=""
    />
  )
}

Data Structure

TBD (Mitesh)

Example of data structure

TBD (Mitesh)

Actions

TBD

Last updated

Was this helpful?