UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

10 lines (9 loc) 303 B
import { getAlertType, getAlertTypeText } from './../../../View/Alert/Utilities/getAlertType'; export const getAlertTypeViewItems = (alert) => { const alertType = getAlertType(alert); const text = getAlertTypeText(alertType); return { name: 'Type', values: [text], }; };