import React from 'react'; import intl from 'react-intl-universal'; import { find, get } from 'lodash'; import { Button, Menu, MenuItem } from '@blueprintjs/core'; import { Popover2 } from '@blueprintjs/popover2'; import { MoneyFieldCell, Icon, T } from 'components'; import { InputGroupCell, ItemsListCell } from 'components/DataTableCells'; // Index table cell. export function IndexTableCell({ row: { index } }) { return {index + 1}; } /** * Actions cell renderer component. */ export function ActionsCellRenderer({ row: { index }, column: { id }, cell: { value }, data, payload: { removeRow }, }) { const onRemoveRole = () => { removeRow(index); }; const exampleMenu = ( ); return (