mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
24 lines
646 B
JavaScript
24 lines
646 B
JavaScript
import React from 'react';
|
|
import { Tab } from '@blueprintjs/core';
|
|
import { DrawerMainTabs, FormattedMessage as T } from 'components';
|
|
import { ItemPaymentTransactions } from './ItemPaymentTransactions';
|
|
import ItemDetailHeader from './ItemDetailHeader';
|
|
|
|
|
|
export default function ItemDetailTab() {
|
|
return (
|
|
<DrawerMainTabs renderActiveTabPanelOnly={true}>
|
|
<Tab
|
|
id={'overview'}
|
|
title={<T id={'overview'} />}
|
|
panel={<ItemDetailHeader />}
|
|
/>
|
|
<Tab
|
|
id={'transactions'}
|
|
title={<T id={'transactions'} />}
|
|
panel={<ItemPaymentTransactions />}
|
|
/>
|
|
</DrawerMainTabs>
|
|
);
|
|
}
|