import React from 'react'; import { Button, Menu, MenuItem } from '@blueprintjs/core'; import { Popover2 } from '@blueprintjs/popover2'; import intl from 'react-intl-universal'; import { useFormikContext } from 'formik'; import { Icon, Hint, ExchangeRateInputGroup, FormattedMessage as T, } from 'components'; import { InputGroupCell, MoneyFieldCell, AccountsListFieldCell, CheckBoxFieldCell, } from 'components/DataTableCells'; import { CellType, Align } from 'common'; import { useCurrentOrganization } from 'hooks/state'; import { useExpensesIsForeign } from './utils'; /** * Expense category header cell. */ const ExpenseCategoryHeaderCell = () => { return ( <> ); }; /** * Actions cell renderer. */ const ActionsCellRenderer = ({ row: { index }, column: { id }, cell: { value: initialValue }, data, payload, }) => { const handleClickRemoveRole = () => { payload.removeRow(index); }; const exampleMenu = ( ); return (