import React, { useMemo } from 'react'; import intl from 'react-intl-universal'; import { DataTable, Money } from 'components'; export default function DrawerTemplateTable({ tableData, currencyCode }) { const columns = useMemo( () => [ { Header: intl.get('description'), accessor: 'description', disableSortBy: true, width: 150, }, { Header: intl.get('rate'), accessor: 'rate', accessor: ({ rate }) => , disableSortBy: true, width: 80, }, { Header: intl.get('qty'), accessor: 'quantity', disableSortBy: true, width: 80, }, { Header: intl.get('total'), accessor: ({ total }) => ( ), disableSortBy: true, width: 70, }, ], [], ); return (
); }