Skip to content

Commit

Permalink
chore(webapp): vendor tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
abouolia committed Jun 11, 2023
1 parent 8e98068 commit 3ebeb29
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,17 @@ import { Tabs, Tab } from '@blueprintjs/core';
import { CLASSES } from '@/constants/classes';

import VendorFinanicalPanelTab from './VendorFinanicalPanelTab';
import VendorAttahmentTab from './VendorAttahmentTab';

import CustomerAddressTabs from '@/containers/Customers/CustomerForm/CustomerAddressTabs';
import CustomerNotePanel from '@/containers/Customers/CustomerForm/CustomerNotePanel';
import styled from 'styled-components';

/**
* Vendor form tabs.
*/
export default function VendorTabs() {

return (
<div className={classNames(CLASSES.PAGE_FORM_TABS)}>
<VendorTabsRoot
<Tabs
animate={true}
id={'vendor-tabs'}
large={true}
Expand All @@ -28,7 +25,7 @@ export default function VendorTabs() {
<Tab
id={'financial'}
title={intl.get('financial_details')}
panel={<VendorFinanicalPanelTab />}
panel={<VendorFinanicalPanelTab />}
/>
<Tab
id={'address'}
Expand All @@ -40,9 +37,7 @@ export default function VendorTabs() {
title={intl.get('notes')}
panel={<CustomerNotePanel />}
/>
</VendorTabsRoot>
</Tabs>
</div>
);
}

const VendorTabsRoot = styled(Tabs)``;

0 comments on commit 3ebeb29

Please sign in to comment.