@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
13 lines (12 loc) • 488 B
JavaScript
import { useAdaptable } from '../../../View/AdaptableContext';
import { renderAlertBehaviourSummary } from '../../../View/Alert/Wizard/AlertBehaviourWizardSection';
const BehaviourView = (props) => {
const adaptable = useAdaptable();
return renderAlertBehaviourSummary(props.data, adaptable.api, true);
};
export const getAlertBehaviourViewItems = (api) => {
return {
name: api.internalApi.getCorrectEnglishVariant('Behaviour'),
view: BehaviourView,
};
};