diff --git a/src/containers/Entries/components.js b/src/containers/Entries/components.js index a6881db6d..877852388 100644 --- a/src/containers/Entries/components.js +++ b/src/containers/Entries/components.js @@ -1,8 +1,11 @@ import React from 'react'; import intl from 'react-intl-universal'; -import { Tooltip, Button, Intent, Position } from '@blueprintjs/core'; +import { MenuItem, Menu, Button, Position } from '@blueprintjs/core'; +import { Popover2 } from '@blueprintjs/popover2'; + +import { Align } from 'common'; import { Hint, Icon, FormattedMessage as T } from 'components'; -import { formattedAmount, safeSumBy } from 'utils'; +import { formattedAmount } from 'utils'; import { InputGroupCell, MoneyFieldCell, @@ -27,60 +30,35 @@ export function ItemHeaderCell() { ); } -/** - * Item column footer cell. - */ -export function ItemFooterCell() { - return ( - - - - ); -} - /** * Actions cell renderer component. */ export function ActionsCellRenderer({ row: { index }, - column: { id }, - cell: { value }, - data, payload: { removeRow }, }) { const onRemoveRole = () => { removeRow(index); }; + const exampleMenu = ( + + + + ); + return ( - } position={Position.LEFT}> +