import React from 'react'; import intl from 'react-intl-universal'; import { MenuItem, Menu, Button, Position } from '@blueprintjs/core'; import { Popover2 } from '@blueprintjs/popover2'; import { Align, CellType } from 'common'; import { Hint, Icon, FormattedMessage as T } from 'components'; import { formattedAmount } from 'utils'; import { InputGroupCell, MoneyFieldCell, ItemsListCell, PercentFieldCell, NumericInputCell, CheckBoxFieldCell, } from 'components/DataTableCells'; /** * Item header cell. */ export function ItemHeaderCell() { return ( <> } tooltipProps={{ boundary: 'window', position: Position.RIGHT }} /> ); } /** * Actions cell renderer component. */ export function ActionsCellRenderer({ row: { index }, payload: { removeRow }, }) { const onRemoveRole = () => { removeRow(index); }; const exampleMenu = ( } /> ); return (