Selector
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
import React from 'react'
import { Viz } from 'a10-gui-dgp-viz'
const { Selector } = Viz
export const MyDashboard = () => {
return (
<Selector
data={{...}}
withEmptyItem={true}
labelForEmpty=""
/>
)
}interface ISelectProps extends IBasicVizProps {
data: IObject[] // TBD
withEmptyItem?: boolean // if true, the first item must be an empty item, defaults to true
labelForEmpty?: string // the default empty label, defaults to ''
}{
"vizName": "Selector",
"dataSourceID": "RPT.ADC.VIPList",
"withEmptyItem": true,
"labelForEmpty": ""
}